Part Number Hot Search : 
HFA1109 8160C 7N1005 ZMM525 SP7663ER BFA105R6 3719I BSS145
Product Description
Full Text Search
 

To Download AK4631VN Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  asahi kasei [ak4631] ms0317-e-01 2004/11 - 1 - general description the ak4631 is a 16-bit mono codec with microphone-am plifier and speaker-amplif ier. input circuits include a microphone-amplifier and an alc (automatic level control) circ uit. output circuits include a speaker-amplifier and mono line out put. the ak4631 suits a moving picture of digital still camera and etc. this speaker-amplif ier supports a piezo speaker. the ak 4631 is housed in a space-saving 28-pin qfn package. feature 1. 16-bit delta-sigma mono codec 2. recording function ? 1ch mono input ? 1 st mic amplifier: 0db, 20db, 26db or 32db ? 2 nd amplifier with alc: -8db +27.5db, 0.5db step ? adc performance: s/(n+d): 80db, dr, s/n: 85db 3. playback function ? digital volume: +12db -115db, 0.5db step, mute ? mono line output performance: s/(n+d): 85db, s/n: 93db ? mono speaker-amp - speaker-amp performance: s/(n+d): 50db, s/n: 90db (240mw@ 8 ? ) - btl output - alc (automatic level control) circuit - output power: 250mw @ 8 ? , svdd=3.3v 3.0vrms@svdd=5v ? beep input 4. power management 5. flexible pll mode: ? frequencies: 11.2896mhz, 12mhz, 12.288m hz, 13.5mhz, 24mhz, 27mhz (mcki pin) 1fs (fck pin) 16fs, 32fs or 64fs (bick pin) 6. ext mode: ? frequencies: 256fs, 512fs or 1024fs (mcki pin) 7. sampling rate: ? pll slave mode (fck pin) : 7.35khz ~ 26khz ? pll slave mode (bick pin) : 7.35khz ~ 48khz ? pll slave mode (mcki pin): 8khz, 11.025khz, 12khz, 16khz, 22.05kh z, 24khz, 32khz, 44.1khz, 48khz ? pll master mode: 8khz, 11.025khz, 12khz, 16khz, 22.05kh z, 24khz, 32khz, 44.1khz, 48khz ? ext slave mode: 7.35khz ~ 48khz (256fs), 7.35khz ~ 26khz (512fs), 7.35khz ~ 13khz (1024fs) 8. output master clock frequency: 256fs 9. serial p interface: 3-wire 10. master / slave mode 16-bit ? mono codec with alc & mic/spk- a mp ak4631
asahi kasei [ak4631] ms0317-e-01 2004/11 - 2 - 11. audio interface format: msb first, 2?s compliment ? adc: dsp mode, 16bit msb justified, i 2 s ? dac: dsp mode, 16bit msb justif ied, 16bit lsb justified, i 2 s 12. ta = -10 70 c 13. power supply ? codec: 2.6 3.6v (typ. 3.3v) ? speaker-amp: 2.6 5.25v (typ. 3.3v/5.0v) 14. power supply current: 16ma (all power on) 15. package: 28pin qfn 16. pin and register compatible with ak4536/ak4630 ? block diagram pmmic avdd avss micout ain interface audio mic-amp 0db or 20db or 26db or 32db mic mpi mic power supply hpf adc alc1 (ipga) pmadc fck bick sdto sdti pdn dsp and up csn cclk cdti svdd svss pmdac dvol dac dvdd dvss vcom alc2 min mout pmspk spk- amp spp spn alc1m beep mix pmbp aout mcki mcko vcoc pll pmpll pmao daca alc1a dacm beepa control register figure 1. ak4631 block diagram
asahi kasei [ak4631] ms0317-e-01 2004/11 - 3 - ? ordering guide AK4631VN ? 10 +70 c 28pin qfn (0.5mm pitch) akd4631 evaluation board for ak4631 ? pin layout top view 8 7 6 5 4 3 2 1 28 27 26 25 24 23 22 9 10 11 12 13 14 16 17 18 19 20 21 avdd vcoc cclk micout mpi mic beep aout mout min mcki mcko spp spn svdd svss sdto fck bick dvdd dvss vcom avss pdn csn cdti sdti 15 ain
asahi kasei [ak4631] ms0317-e-01 2004/11 - 4 - ? compare ak4536/ak4630 with ak4631 in the case of using the ak4536 or the ak4630, it will be possible to change to the ak4631 from the ak4536 or the ak4630 without modifying the softw are and the design circuit except t he items shown by shading in the following compatibility. 1. function function ak4536vn ak4630vn AK4631VN dynamic speaker avdd, dvdd, svdd 2.4v 3.6v 2.4v 3.6v 2.6v 3.6v spk-amp output volage at alc2 off and avdd=dvdd=svdd=3.3v 2 mode 150mw@8 ? 250mw@8 ? 2 mode 150mw@8 ? 250mw@8 ? 4 mode 150mw@8 ? 250mw@8 ? +4.2db from 250mw mode +6.2db from 250mw mode spk-amp output volage at alc2 on and avdd=dvdd=svdd=3.3v 2 mode 150mw@8 ? 250mw@8 ? 2 mode 150mw@8 ? 250mw@8 ? 2 mode 150mw@8 ? 240mw@8 ? piezo speaker avdd, dvdd not available not available 2.6v 3.6v svdd 2.6v 5.25v spk-amp output voltage 4 mode others x?tal oscillator yes no no mcki pin ac coupling input no no no master clock output no yes yes reference value at alc2 recovery operation fixed : +18db fixed : +18db variable : +19.5db -14.0db sampling rate 7.35khz 26khz 7.35khz 26khz 7.35khz 48khz mic amp gain 0db/+20db 0db/+20db 0db/+20db/+26db/+32db soft transition time of output digital volume 1061/fs 1061/fs 1061/fs or 256/fs master clock for pll 11.2896mhz, 12mhz, 12.288mhz 11.2896mhz, 12mhz, 12.288mhz 11.2896mhz, 12mhz, 12.288mhz, 13.5mhz, 24mhz, 27mhz mute function of aout no no yes output of aout pin in power down mode hi-z hi-z avss beep ? spp/spn gain (external input resistance = 20k ? ) +6db at spkg bit = ?0? +6db at spkg bit = ?0? +7.84 db at spkg1-0 bits = ?00? r and c of vcoc pin at pll reference clock = fck pin. 10k ? + 470nf 10k ? + 470nf 6.8k ? + 220nf audio i/f format at pll master mode only dsp mode all modes all modes audio i/f format at pll slave mode only dsp mode all modes all modes fck pulse width ?h? at pll master mode 1/tbck 50% duty 50% duty the size of the black part at four corners in package diagram 0.2 +0.10 mm -0.20 0.55 0.20 mm 0.55 0.20 mm the minimum height of package 0.80 mm 0.70 mm 0.70 mm the thickness of package except lead frame 0.78 +0.17 -0.28 no spec no spec
asahi kasei [ak4631] ms0317-e-01 2004/11 - 5 - function ak4536vn ak4630vn AK4631VN mono line output characteristics d-range (typ) 95db 95db 93db s/n(typ) 95db 95db 93db speaker-amp characteristics output voltage (at -0.5dbfs) spkg1-0 bits = ?00? (typ) 2.92vpp 2.92vpp 3.09vpp spkg1-0 bits = ?01? (typ) 3.78vpp 3.78vpp 3.92vpp s/(n+d) (at 240mw) spkg1-0 bits =?01? (typ) - - 50db s/(n+d) (at 250mw) spkg1-0 bits =?01? (typ) 50db 50db 20db adc digital filter (hpf) characteristics: fs=8khz frequency response -3.0db 1.25hz 1.25 hz 0.62 hz (typ) -0.5db 3.56 hz 3.56 hz 1.81 hz -0.1db 8.14 hz 8.14 hz 3.99 hz note 1. the black part of the ak4631 is wider than that of the ak4536. check if this black parts are open without contacting trace line and gnd. 2. pin layout pin no. ak4536vn ak4630vn AK4631VN # 15 mcki / xti mcki mcki # 16 xto mcko mcko
asahi kasei [ak4631] ms0317-e-01 2004/11 - 6 - 3. register (1) register map addr register name d7 d6 d5 d4 d3 d2 d1 d0 00h power management 1 0 pmvcm pmbp pmspk pmao pmdac pmmic pmadc 01h power management 2 0 0 0 0 m/s mckpd mcko pmpll 02h signal select 1 spps beeps alc2s daca dacm mpwr micad mgain0 03h signal select 2 0 aopsn mgain1 spkg1 spkg0 beepa alc1m alc1a 04h mode control 1 pll3 pll2 pll1 pll0 bcko1 bcko0 dif1 dif0 05h mode control 2 0 0 fs3 msbs bckp fs2 fs1 fs0 06h timer select dvtm rotm ztm1 ztm0 wtm1 wtm0 ltm1 ltm0 07h alc mode control 1 0 alc2 alc1 zelm lmat1 lmat0 ratt lmth 08h alc mode control 2 0 ref6 re f5 ref4 ref3 ref2 ref1 ref0 09h input pga control 0 ipga6 ipga5 ipga4 ipga3 ipga2 ipga1 ipga0 0ah digital volume control dvol 7 dvol6 dvol5 dvol4 dvol 3 dvol2 dvol1 dvol0 0bh alc2 mode control 0 0 rfs5 rfs4 rfs3 rfs2 rfs1 rfs0 register bits changed from the ak4536 or the ak4630. bold register bits added from the ak4536 and the ak4630. (2) mcko bit (addr = 01h, d1 bit) register ak4536 ak4630/ak4631 addr = 01h, d1 pmxtl bit mcko bit 0: ?l? output (default) 1: 256fs output (3) fs1-0 bits (addr = 05h, d1-0 bits) when pll reference clock input is fck or bick pin, the setting of fs3-0 bits are changed as shown in the following table. sampling frequency range mode fs3 bit fs2 bit fs1 bit fs0 bit ak4536/ak4630 ak4631 0 0 don?t care 0 0 7.35khz fs 10khz 7.35khz fs 8khz 1 0 don?t care 0 1 10khz < fs 14khz 8khz < fs 12khz 2 0 don?t care 1 0 14khz < fs 20khz 12khz < fs 16khz 3 0 don?t care 1 1 20khz < fs 26khz 16khz < fs 24khz 6 1 don?t care 1 0 n/a 24khz < fs 32khz 7 1 don?t care 1 1 n/a 32khz < fs 48khz others others n/a n/a when the sampling rate is 8khz, 11.025khz, 16khz, 22.05khz and 24khz, the fs3-0 bits setting of the ak4631 is same as that of the ak4536 and the ak4630.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 7 - pin/function no. pin name i/o function 1 vcom o common voltage output pin, 0.45 x avdd bias voltage of adc inputs and dac outputs. 2 avss - analog ground pin 3 avdd - analog power supply pin 4 vcoc o output pin for loop filter of pll circuit this pin should be connected to avss with one resistor and capacitor in series. 5 pdn i power-down mode pin ?h?: power up, ?l?: power down reset and initialize the control register. 6 csn i chip select pin 7 cclk i control data clock pin 8 cdti i control data input pin 9 sdti i audio serial data input pin 10 sdto o audio serial data output pin 11 fck i/o frame clock pin 12 bick i/o audio serial data clock pin 13 dvdd - digital power supply pin 14 dvss - digital ground pin 15 mcki i external master clock input pin (internal pull down 25k ? @pdn pin =?l?) 16 mcko o master clock output pin 17 spp o speaker amp positive output pin 18 spn o speaker amp negative output pin 19 svdd - speaker amp power supply pin 20 svss - speaker amp ground pin 21 min i alc2 input pin 22 mout o mono analog output pin 23 aout o mono line output pin 24 beep i beep signal input pin 25 ain i ipga (alc1) input pin 26 micout o microphone analog output pin 27 mic i microphone input pin (mono input) 28 mpi o mic power supply pin for microphone note: all input pins except analog input pins (mic, ain, min and beep pins) should not be left floating. ? handling of unused pin the unused i/o pins should be processed appropriately as below. classification pin name setting analog input mic, ain, beep, min these pins should be open and each path should be switched off. analog output micout, mpi, aout, mout, spp, spn thes e pins should be open. digital input mcki, sdti, fck(when m/s bit = ?0?), bick(when m/s bit = ?0?) these pins should be connected to dvss. digital output mcko, sdto, fck(when m/s bit = ?1?), bick(when m/s bit = ?1?) these pins should be open.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 8 - absolute maximum ratings (avss, dvss, svss=0v; note 2) parameter symbol min max units power supplies: analog digital speaker-amp |avss ? dvss| (note 3) |avss ? svss| (note 3) avdd dvdd svdd ? gnd1 ? gnd2 ? 0.3 ? 0.3 ? 0.3 - - 6.0 6.0 6.0 0.3 0.3 v v v v v input current, any pin except supplies iin - 10 ma analog input voltage vina ? 0.3 avdd+0.3 v digital input voltage vind ? 0.3 dvdd+0.3 v ambient temperature (powered applied) ta ? 10 70 c storage temperature tstg ? 65 150 c maximum power dissipation (note 4) pd - 520 mw note 2. all voltages with respect to ground. note 3. avss, dvss and svss must be connected to the same analog ground plane. note 4. in case that pcb wiring density is 100%. this power is the ak4631 internal dissipation that does not include power of externally connected speaker. warning: operation at or beyond these limits may result in permanent damage to the device. normal operation is not guaranteed at these extremes. recommended operating conditions (avss, dvss, svss=0v; note 2) parameter symbol min typ max units power supplies (note 5) analog digital speaker-amp (note 6) difference avdd dvdd svdd avdd-dvdd 2.6 2.6 2.6 -0.3 3.3 3.3 3.3 / 5.0 0 3.6 3.6 5.25 0.3 v v v v note 2. all voltages with respect to ground note 5. the power up sequence betw een avdd, dvdd and svdd is not critical. when the power supplies are partially powered off, the ak4631 must be reset by bringing pdn pin ?l? after these power supplies are powered on again. note 6. svdd = 2.6 3.6v when 8 ? dynamic speaker is connected to the ak4631. * akm assumes no responsibility for the usage beyond the conditions in this datasheet.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 9 - analog chracteristics (ta=25 c; avdd, dvdd, svdd=3.3v; avss=dvss=svss=0v; fs= 8khz, bick=64fs; signal frequency=1khz; 16bit data; measurement frequency=20hz 3.4khz; ext slave mode; unless otherwise specified) parameter min typ max units mic amplifier input resistance 20 30 40 k ? gain (mgain1-0 bits = ?00?) (mgain1-0 bits = ?01?) (mgain1-0 bits = ?10?) (mgain1-0 bits = ?11?) - - - - 0 20 26 32 - - - - db db db db mic power supply: mpi pin output voltage (note 7) 2.22 2.47 2.72 v load resistance 2 - - k ? load capacitance - - 30 pf input pga characteristics: input resistance (note 8) 5 10 15 k ? step size 0.05 0.5 0.9 db gain control range ? 8 - +27.5 db adc analog input characteristics: mic ? ipga ? adc, mic gain=20db, ipga=0db, alc1=off resolution 16 bits input voltage (mic gain=20db, note 9) 0.168 0.198 0.228 vpp s/(n+d) ( ? 1dbfs) (note 10) 68 80 - db d-range ( ? 60dbfs) 75 85 - db s/n 75 85 - db dac characteristics: resolution 16 bits mono line output characteristics: aout pin, dac aout, r l =10k ? output voltage (note 11) 1.78 1.98 2.18 vpp s/(n+d) (0dbfs) (note 10) 73 85 - db d-range (-60dbfs) 83 93 - db s/n 83 93 - db load resistance 10 - - k ? load capacitance - - 30 pf speaker-amp characteristics: spp/spn pins, min ? spp/spn, alc2=off, r l =8 ? , btl, svdd=3.3v spkg1-0 bits = ?00? (-0.5dbfs) 2.47 3.09 3.71 vpp output voltage (note 12) spkg1-0 bits = ?01? (-0.5dbfs) 3.10 4.00 4.80 vpp spkg1-0 bits =?00? (at 150mw) 40 60 - db s/(n+d) spkg1-0 bits =?01? (at 240mw) 20 50 - db spkg1-0 bits =?01? (at 250mw) - 20 - db s/n (note 14) 80 90 - db load resistance 8 - - ? load capacitance - - 30 pf speaker-amp characteristics: min ? spp/spn pins, alc2=off, c l =3 f, r serial =10 ? x 2, btl, svdd=5.0v spkg1-0 bits = ?10? (0dbfs) - 6.72 - vpp output voltage (note 12) spkg1-0 bits = ?11? (0dbfs) 6.80 8.50 10.20 vpp spkg1-0 bits = ?10? (0dbfs) - 60 - db s/(n+d) (note 12) (note 13) spkg1-0 bits = ?11? (0dbfs) 20 50 - db s/n (note 13) (note 14) 80 80 90 - load impedance (note 15) 50 - - ? load capacitance - - 3 f
asahi kasei [ak4631] ms0317-e-01 2004/11 - 10 - parameter min typ max units beep input: beep pin, external input resistance= 20k ? maximum input voltage (note 16) - 1.98 - vpp output voltage (input voltage=0.6vpp) beep ? spp/spn (spkg1-0 bits = ?00?) 0.74 1.48 2.22 vpp beep ? aout 0.3 0.6 0.9 vpp mono input: min pin maximum input voltage (note 17) - 2.18 - vpp input resistance (note 18) 12 24 36 k ? mono output: mout pin, dac mout output voltage (note 19) 1.78 1.98 2.18 vpp load resistance 10 - - k ? load capacitance - - 30 pf power supplies power up (pdn pin = ?h?) all circuit power-up: (note 20) avdd+dvdd fs=8khz - 9 - ma fs=48khz - 11.5 17.5 ma svdd: speaker-amp normal operati on (spps bit = ?1?, no output) svdd=3.3v - 7 - ma svdd=5.0v - 9 27 ma power down (pdn pin = ?l?) avdd+dvdd+svdd - 10 200 a note 7. output voltage is proportional to avdd voltage. vout = 0.75 x avdd (typ) note 8. when ipga gain is changed, this typical value changes between 8k ? and 11k ? . note 9. input voltage is proportional to avdd voltage. vin = 0.06 x avdd (typ) note 10. when a pll reference clock is fck pin in pll slave mode, s/(n+d) is 77db (typ). note 11. output voltage is proportional to avdd voltage. vout = 0.6 x avdd (typ) note 12. the full scale of input signal of min pin is 1.98vpp. note 13. in case of measuring be tween spp pin and spn pin directly. note 14. there are no relations with the setup of spkg1-0 bits, and it is the same value. note 15. load impedance is total impedance of series resi stance and piezo speaker impedan ce at 1khz in figure 34. load capacitance is capacitance of piezo speaker. when piezo speaker is used, 10 ? or more series resistors should be connected at both spp and spn pins, respectively. note 16. the maximum input voltage of the beep is proportional to avdd voltage and external input resistance(rin). vout = 0.6 x avdd x rin/20k ? (max). note 17. maximum input voltage is proportional to avdd voltage. vin = 0.66 x avdd (max) note 18. when alc2 gain is changed, this typical value changes between 22k ? and 26k ? . note 19. output voltage is proportional to avdd voltage. vout = 0.6 x avdd (typ) note 20. pll master mode (mcki = 12.288mhz) and pmmic = pmadc = pmdac = pmspk = pmvcm = pmpll = mcko = pmao = pmbp = m/s = ?1?. and output current from mpi pin is 0ma. when the ak4631 is ext mode (pmpll = mcko = m/s = ?0?), ?avdd+dvdd? is typically 7ma@fs=8khz, 9.5ma@fs=48khz).
asahi kasei [ak4631] ms0317-e-01 2004/11 - 11 - filter chracteristics (ta = 25 c; avdd, dvdd = 2.6 3.6v; svdd =2.6 5.25v; fs=8khz) parameter symbol min typ max units adc digital filter (decimation lpf): passband (note 21) 0.16db ? 0.66db ? 1.1db ? 6.9db pb 0 - - - 3.5 3.6 4.0 3.0 - - - khz khz khz khz stopband (note 21) sb 4.7 khz passband ripple pr 0.1 db stopband attenuation sa 73 db group delay (note 22) gd 17.1 1/fs group delay distortion ? gd 0 s adc digital filter (hpf): frequency response (note 21) ? 3.0db ? 0.5db ? 0.1db fr - - - 0.62 1.81 3.99 - - - hz hz hz dac digital filter: passband (note 21) 0.1db ? 0.7db ? 6.0db pb 0 - - 3.6 4.0 3.6 - - khz khz stopband (note 21) sb 4.6 khz passband ripple pr 0.01 db stopband attenuation sa 59 db group delay (note 22) gd 16.8 1/fs dac digital filter + analog filter: frequency response: 0 3.4khz fr 1.0 db note 21. the passband and stopband frequencies ar e proportional to fs (system sampling rate). for example, adc is pb=0.45*fs (@-1.1db). a reference of frequency response is 1khz. note 22. the calculated delay time caused by digital filtering. this time is from the input of analog signal to setting of the 16-bit data of a channel from the input register to the output register of the adc. this time includes the group delay of the hpf. for the dac, this time is from setting the 16-bit data of a channel from the input register to the output of analog signal. dc chracteristics (ta = 25 c; avdd, dvdd = 2.6 3.6v; svdd =2.6 5.25v) parameter symbol min typ max units high-level input voltage low-level input voltage vih vil 70%dvdd - - - - 30%dvdd v v high-level output voltage (iout= ? 80 a) low-level output voltage (iout= 80 a) voh vol dvdd ? 0.4 - - - - 0.4 v v input leakage current iin - - 10 a
asahi kasei [ak4631] ms0317-e-01 2004/11 - 12 - switing characteristics (ta = 25 c; avdd, dvdd = 2.6 3.6v; svdd =2.6 5.25v; c l =20pf) parameter symbol min typ max units pll master mode (pll reference clock = mcki pin) (figure 2) mcki input: frequency pulse width low pulse width high fclk tclkl tclkh 11.2896 0.4/fclk 0.4/fclk 27.0 mhz ns ns mcko output: frequency duty cycle except fs=29.4khz, 32khz fs=29.4khz, 32khz (note 23) fmck dmck dmck 40 256 x ffck 50 33 60 khz % % fck output: frequency duty cycle ffck dfck 8 50 48 khz % bick: period (bcko1-0 = ?00?) (bcko1-0 = ?01?) (bcko1-0 = ?10?) duty cycle tbck tbck tbck dbck 1/16ffck 1/32ffck 1/64ffck 50 ns ns ns % audio interface timing dsp mode: (figure 3, figure 4) fck ? ? to bick ? ? (note 24) fck ? ? to bick ? ? (note 25) bick ? ? to sdto (bckp = ?0?) bick ? ? to sdto (bckp = ?1?) sdti hold time sdti setup time tdbf tdbf tbsd tbsd tsdh tsds 0.5 x tbck -40 0.5 x tbck -40 -70 -70 50 50 0.5 x tbck 0.5 x tbck 0.5 x tbck + 40 0.5 x tbck +40 70 70 ns ns ns ns ns ns except dsp mode: (figure 5) bick ? ? to fck edge fck to sdto (msb) (except i 2 s mode) bick ? ? to sdto sdti hold time sdti setup time tbfck tfsd tbsd tsdh tsds -40 -70 -70 50 50 40 70 70 ns ns ns ns ns
asahi kasei [ak4631] ms0317-e-01 2004/11 - 13 - parameter symbol min typ max units pll slave mode (pll reference clock: fck pin) (figure 6, figure 7) fck: frequency dsp mode: pulse width high except dsp mode: duty cycle ffck tfckh duty 7.35 tbck-60 45 8 26 1/ffck-tbfck 55 khz ns % bick: period pulse width low pulse width high tbck tbckl tbckh 1/64ffck 240 240 1/16ffck ns ns ns pll slave mode (pll reference clock: bick pin) (figure 6, figure 7) fck: frequency dsp mode: pulse width high except dsp mode: duty cycle ffck tfckh duty 7.35 tbck-60 45 8 48 1/ffck-tbfck 55 khz ns % bick: period (pll3-0 = ?0001?) (pll3-0 = ?0010?) (pll3-0 = ?0011?) pulse width low pulse width high tbck tbck tbck tbckl tbckh 0.4 x tbck 0.4 x tbck 1/16ffck 1/32ffck 1/64ffck ns ns ns ns ns pll slave mode (pll reference clock: mcki pin) ( figure 8) mcki input: frequency pulse width low pulse width high fclk fclkl fclkh 11.2896 0.4/fclk 0.4/fclk 27.0 mhz ns ns mcko output: frequency duty cycle except fs=29.4khz, 32khz fs=29.4khz, 32khz (note 23) fmck dmck dmck 40 256 x ffck 50 33 60 khz % % fck: frequency dsp mode: pulse width high except dsp mode: duty cycle ffck tfckh duty 8 tbck-60 45 48 1/ffck-tbfck 55 khz ns % bick: period pulse width low pulse width high tbck tbckl tbckh 1/64ffck 0.4 x tbck 0.4 x tbck 1/16ffck ns ns ns audio interface timing dsp mode: (figure 9,figure 10) fck ? ? to bick ? ? (note 24) fck ? ? to bick ? ? (note 25) bick ? ? to fck ? ? (note 24) bick ? ? to fck ? ? (note 25) bick ? ? to sdto (bckp = ?0?) bick ? ? to sdto (bckp = ?1?) sdti hold time sdti setup time tfckb tfckb tbfck tbfck tbsd tbsd tsdh tsds 0.4 x tbck 0.4 x tbck 0.4 x tbck 0.4 x tbck 50 50 80 80 ns ns ns ns ns ns ns ns except dsp mode: (figure 12) fck edge to bick ? ? (note 26) bick ? ? to fck edge (note 26) fck to sdto (msb) (except i 2 s mode) bick ? ? to sdto sdti hold time sdti setup time tfckb tbfck tfsd tbsd tsdh tsds 50 50 50 50 80 80 ns ns ns ns ns ns
asahi kasei [ak4631] ms0317-e-01 2004/11 - 14 - parameter symbol min typ max units ext slave mode (figure 11) mcki frequency: 256fs 512fs 1024fs pulse width low pulse width high fclk fclk fclk tclkl tclkh 1.8816 3.7632 7.5264 0.4/fclk 0.4/fclk 2.048 4.096 8.192 12.288 13.312 13.312 mhz mhz mhz ns ns fck frequency (mcki = 256fs) (mcki = 512fs) (mcki = 1024fs) duty cycle ffck ffck ffck duty 7.35 7.35 7.35 45 8 8 8 48 26 13 55 khz khz % bick period bick pulse width low pulse width high tbck tbckl tbckh 312.5 130 130 ns ns ns audio interface timing (figure 12) fck edge to bick ? ? (note 26) bick ? ? to fck edge (note 26) fck to sdto (msb) (except i 2 s mode) bick ? ? to sdto sdti hold time sdti setup time tfckb tbfck tfsd tbsd tsdh tsds 50 50 50 50 80 80 ns ns ns ns ns ns note 23. duty cycle = (the width of ?l? ) / (the period of clock) 100 note 24. msbs, bckp bits = ?00? or ?11? note 25. msbs, bckp bits = ?01? or ?10? note 26. bick rising edge must not occur at the same time as fck edge. parameter symbol min typ max units control interface timing: cclk period cclk pulse width low pulse width high cdti setup time cdti hold time csn ?h? time csn ? ? to cclk ? ? cclk ? ? to csn ? ? tcck tcckl tcckh tcds tcdh tcsw tcss tcsh 200 80 80 40 40 150 150 50 ns ns ns ns ns ns ns ns reset timing pdn pulse width (note 27) pmadc ? ? to sdto valid (note 28) tpd tpdv 150 1059 ns 1/fs note 27. the ak4631 can be reset by the pdn pin = ?l? note 28. this is the count of fck ? ? from the pmadc = ?1?.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 15 - ? timing diagram fck 1/fclk mcki tclkh tclkl vih vil 1/fmck mcko tmckoh tmckol 50%dvdd 1/ffck dfck dfck 50%dvdd dmck = tmckol x fmck x 100 figure 2. clock timing (pll master mode) fck bick 50%dvdd sdto 50%dvdd tbsd tsds sdti vil tsdh vih dbck tdbf 50%dvdd tbck msb msb bick 50%dvdd (bckp = "0") (bckp = "1") figure 3. audio interface timing (pll master mode & dsp mode: msbs = ?0?)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 16 - fck bick 50%dvdd sdto 50%dvdd tbsd tsds sdti vil tsdh vih dbck tdbf 50%dvdd tbck msb bick 50%dvdd (bckp = "1") (bckp = "0") msb figure 4. audio interface timing (pll master mode & dsp mode: msbs = ?1?) fck 50%dvdd bick 50%dvdd sdto 50%dvdd tbsd tsds sdti vil tsdh vih tbfck dbck tfsd figure 5. audio interface timing (pll master mode & except dsp mode)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 17 - 1/ffck fck vih tfckh vil tbck bick tbckh tbckl vih vil tbfck bick vih vil (bckp = "0") (bckp = "1") figure 6. clock timing (pll slave mode ; pll reference clock = fck or bick pin & dsp mode; msbs = 0) 1/ffck fck vih tfckh vil tbck bick tbckh tbckl vih vil tbfck bick vih vil (bckp = "1") (bckp = "0") figure 7. clock timing (pll slave mode; pll reference clock = fck or bick pin & dsp mode; msbs = 1)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 18 - 1/fclk mcki tclkh tclkl vih vil 1/ffck fck vih vil tbck bick tbckh tbckl vih vil tfckh tfckl 1/fmck mcko 50%dvdd tmckoh tmckol dmck = tmckol x fmck x 100 figure 8. clock timing (pll slave mode; pll reference clock = mcki pin & except dsp mode)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 19 - fck bick sdto 50%dvdd tbsd tsds sdti vil tsdh vih tfckb tfckh msb msb vil vih vil vih bick vil vih (bckp = "0") (bckp = "1") figure 9. audio interface timing (pll slave mode & dsp mode; msbs = 0) fck bick sdto 50%dvdd tbsd tsds sdti vil tsdh vih tfckb tfckh msb msb vil vih vil vih bick vil vih (bckp = "1") (bckp = "0") figure 10. audio interface timing (pll slave mode, dsp mode; msbs = 1)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 20 - 1/fclk mcki tclkh tclkl vih vil 1/ffck fck vih vil tbck bick tbckh tbckl vih vil tfckh tfckl figure 11. clock timing (ext slave mode) fck vih vil tbfck bick vih vil tfsd sdto 50%dvdd tfckb tbsd tsds sdti vil tsdh vih msb figure 12. audio interface timing (pll, ext slave mode & except dsp mode)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 21 - csn vih vil tcss cclk tcds vih vil cdti vih tcckh tcckl tcdh vil c1 c0 r/w tcck figure 13. write command input timing csn vih vil tcsh cclk vih vil cdti vih tcsw vil d1 d0 d2 figure 14. write data input timing csn vih vil tpdv sdto 50%dvdd figure 15. power down & reset timing 1 tpd pdn vil figure 16. power down & reset timing 2
asahi kasei [ak4631] ms0317-e-01 2004/11 - 22 - operation overview ? system clock there are the following four clock modes to interface with external devices. (see table 1 and table 2) mode pmpll bit m/s bit pll3-0 bit mckpd bit figure pll master mode 1 1 see table 4 0 figure 18 pll slave mode 1 (pll reference clock: mcki pin) 1 0 see table 4 0 figure 19 pll slave mode 2 (pll reference clock: fck or bick pin) 1 0 see table 4 1 figure 20 ext slave mode 0 0 x 0 figure 21 invalid state (note 29) 0 1 x x - table 1. clock mode setting (x: don?t care) note 29. if this mode is selected, the invalid clocks are output from mcko, fck and bick pins. mode mcko bit mcko pin mcki pin bick pin fck pin 0 ?l? output pll master mode 1 256fs output master clock input for pll (note 30) 16fs/32fs/64fs output 1fs output 0 ?l? output pll slave mode 1 (pll reference clock: mcki pin) 1 256fs output master clock input for pll (note 30) 16fs/32fs/64fs input 1fs input pll slave mode 2 (pll reference clock: fck or bick pin) 0 ?l? output gnd 16fs/32fs/64fs input 1fs input ext slave mode 0 ?l? output 256fs/ 512fs/ 1024fs input 32fs input 1fs input note 30. 11.2896mhz/12mhz/12.288m hz/13.5mhz/24mhz/27mhz table 2. clock pins state in clock mode [pull-down resistor of mcki pin] when the master clock is input, mckpd bit should be ?0?. when the mcki pin is floating, the pin should be pulled-down by internal 25k ? resistor at mckpd bit = ?1?(default). mcki ak4631 25k ? mckpd bit ="0" figure 17. pull-down resistor of mcki pin
asahi kasei [ak4631] ms0317-e-01 2004/11 - 23 - ? master mode/slave mode the m/s bit selects either master or slav e modes. m/s bit = ?1? selects master m ode and ?0? selects slave mode. when the ak4631 is power-down mode (pdn pin = ?l?) and exits reset st ate, the ak4631 is slave mode. after exiting reset state, the ak4631 goes master mode by changing m/s bit = ?1?. when the ak4631 is used by master mode, fck and bick pi ns are a floating state until m/s bit becomes ?1?. fck and bick pins of the ak4631 should be pulled-down or pulled-up by about 100k ? resistor externally to avoid the floating state. m/s bit mode 0 slave mode default 1 master mode table 3. select master/salve mode ? pll mode when pmpll bit is ?1?, a fully integrated analog phase lock ed loop (pll) generates a clock that is selected by the pll3-0 and fs3-0 bits. the pll lock time is shown in table 4, whenever the ak4631 is supplied to a stable clocks after pll is powered-up (pmpll bit = ?0? ?1?) or sampling frequency changes. 1) setting of pll mode r and c of vcoc pin mode pll3 bit pll2 bit pll1 bit pll0 bit pll reference clock input pin input frequency r[ ? ] c[f] pll lock time (max) 0 0 0 0 0 fck pin 1fs 6.8k 220n 160ms default 1 0 0 0 1 bick pin 16fs 10k 4.7n 2ms 2 0 0 1 0 bick pin 32fs 10k 4.7n 2ms 3 0 0 1 1 bick pin 64fs 10k 4.7n 2ms 4 0 1 0 0 mcki pin 11.2896mhz 10k 4.7n 40ms 5 0 1 0 1 mcki pin 12.288mhz 10k 4.7n 40ms 6 0 1 1 0 mcki pin 12mhz 10k 4.7n 40ms 7 0 1 1 1 mcki pin 24mhz 10k 4.7n 40ms 12 1 1 0 0 mcki pin 13.5mhz 10k 10n 40ms 13 1 1 0 1 mcki pin 27mhz 10k 10n 40ms others others n/a table 4. setting of pll mode (*fs: sampling frequency) 2) setting of sampling frequency in pll mode. when pll2 bit is ?1? (pll reference clock input is mcki pin), the sampling frequency is selected by fs2-0 bits as defined in table 5. mode fs3 bit fs2 bit fs1 bit fs0 bit sampling frequency 0 0 0 0 0 8khz default 1 0 0 0 1 12khz 2 0 0 1 0 16khz 3 0 0 1 1 24khz 4 0 1 0 0 7.35khz 5 0 1 0 1 11.025khz 6 0 1 1 0 14.7khz 7 0 1 1 1 22.05khz 10 1 0 1 0 32khz 11 1 0 1 1 48khz 14 1 1 1 0 29.4khz 15 1 1 1 1 44.1khz others others n/a table 5. setting of sampling frequency at pll2 bit = ?1? and pmpll bit = ?1?
asahi kasei [ak4631] ms0317-e-01 2004/11 - 24 - when pll2 bit is ?0? (pll reference clock input is fck or bick pin), the sampling frequency is selected by fs3, fs1-0 bits. (see table 6) mode fs3 bit fs2 bit fs1 bit fs0 bit sampling frequency range 0 0 don?t care 0 0 7.35khz fs 8khz default 1 0 don?t care 0 1 8khz < fs 12khz 2 0 don?t care 1 0 12khz < fs 16khz 3 0 don?t care 1 1 16khz < fs 24khz 6 1 don?t care 1 0 24khz < fs 32khz 7 1 don?t care 1 1 32khz < fs 48khz others others n/a table 6. setting of sampling frequency at pll2 bit = ?0? and pmpll bit = ?1? ? pll unlock state 1) pll master mode (pmpll bit = ?1?, m/s bit = ?1?) in this mode, irregular frequency clocks are output from fck, bick and mcko pins after pmpll bit = ?0? ? ?1? or sampling frequency is changed. after that pll is unlocked, bick and fck pins output ?l? for a moment, and invalid frequency clock is output from mcko pin at mcko bit = ?1?. if mcko bit is ?0?, mcko pin is output to ?l?. (see table 7) after the pll is locked, a first period of fck and bick may be invalid clock, but these clocks return to normal state after a period of 1/fs. mcko pin pll state mcko bit = ?0? mcko bit = ?1? bick pin fck pin after that pmpll bit ?0? ? ?1? ?l? output invalid invalid invalid pll unlock ?l? output inva lid ?l? output ?l? output pll lock ?l? output 256fs output see table 9 1fs output table 7. clock operation at pll master mode (pmpll bit = ?1?, m/s bit = ?1?) 2) pll slave mode (pmpll b it = ?1?, m/s bit = ?0?) in this mode, an invalid clock is output from mcko pin after pmpll bit = ?0? ? ?1? or sampling frequency is changed. after that, 256fs is output from mcko pin when pll is locked. adc and dac output invalid data when the pll is unlocked. for dac, the output signal should be muted by writing ?0? to daca and dacm bits in addr=02h. mcko pin pll state mcko bit = ?0? mcko bit = ?1? after that pmpll bit ?0? ? ?1? ?l? output invalid pll unlock ?l? output invalid pll lock ?l? output 256fs output table 8. clock operation at pll slave mode (pmpll bit = ?1?, m/s bit = ?0?)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 25 - ? pll master mode (pmpll bit = ?1?, m/s bit = ?1?) when an external clock (11.2896mhz, 12mhz , 12.288mhz, 13.5mhz, 24mhz or 27mhz) is input to mcki pin, the mcko, bick and fck clocks are generated by an internal pll circuit. the mcko output frequency is fixed to 256fs, the output is enabled by mcko bit. the bick is selected among 16fs, 32fs or 64fs, by bcko1-0 bits. (see table 9) when bick output frequency is 16fs, the audio in terface format supports onl y mode 0 (dsp mode). ak4631 dsp or p mcko bick fck sdto sdti bclk fck sdti sdto mcki 1fs 16fs, 32fs, 64fs 256fs 11.2896mhz, 12mhz, 12.288mhz 13.5mhz, 24mhz, 27mhz mclk figure 18. pll master mode mode bcko1 bcko0 bick output frequency 0 0 0 16fs default 1 0 1 32fs 2 1 0 64fs 3 1 1 n/a table 9. bick output frequency at master mode
asahi kasei [ak4631] ms0317-e-01 2004/11 - 26 - ? pll slave mode (pmpll bit = ?1?, m/s bit = ?0?) a reference clock of pll is selected among the input clocks to mcki, bick or fck pin. the required clock to the ak4631 is generated by an internal pll circuit. input frequenc y is selected by pll3-0 bits. when bick input frequency is 16fs, the audio interface format supports only mode 0 (dsp mode). a) pll reference clock: bick or fck pin in the case of using bick as pll reference clock, the sampling frequency corresponds to 7.35khz to 48khz by changing fs3-0 bits. in the case of using fck, the sa mpling frequency corresponds to 7.35khz to 26khz. (seetable 6) ak4631 dsp or p mcki bick fck sdto sdti bclk fck sdti sdto mcko 1fs 16fs, 32fs, 64fs figure 19. pll slave mode 1 (pll reference clock: fck or bick pin) b) pll reference clock: mcki pin bick and fck inputs should be synchronized with mcko output. the phase between mcko and fck dose not matter. sampling frequency can be selected by fs3-0 bits. (see table 5) ak4631 dsp or p mcko bick fck sdto sdti bclk fck sdti sdto mcki 1fs 16fs, 32fs, 64fs 256fs 11.2896mhz, 12mhz, 12.288mhz 13.5mhz, 24mhz, 27mhz mclk figure 20. pll slave mode 2 (pll reference clock: mcki pin) the external clocks (mcki, bick and fck) should always be present whenever the adc or dac is in operation (pmadc bit = ?1? or pmdac bit = ?1?). if these clocks are not provided, the ak4631 may draw excess current and it is not possible to operate properly because u tilizes dynamic refreshed logic internally. if the external clocks are not present, the adc and dac should be in the power-down mode (pmadc bit =pmdac bit = ?0?).
asahi kasei [ak4631] ms0317-e-01 2004/11 - 27 - ? ext slave mode (pmpll bit = ?0?, m/s bit = ?0?) when pmpll bit is ?0?, the ak4631 becomes ext mode. master clock is input from mcki pin, the internal pll circuit is not operated. this mode is compatible with i/f of the normal audio codec. the clocks required to operate are mcki (256fs, 512fs or 1024fs), fck (fs) and bick (32fs ). the master clock (mcki) should be synchronized with fck. the phase between these clocks does not matter. the input freque ncy of mcki is selected by fs3-0 bits. (see table 10) mode fs3-2 bits fs1 bit fs0 bit mcki input frequency sampling frequency range 0 don?t care 0 0 256fs 7.35khz fs 48khz default 1 don?t care 0 1 1024fs 7.35khz < fs 13khz 2 don?t care 1 0 256fs 7.35khz < fs 48khz 3 don?t care 1 1 512fs 7.35khz < fs 26khz table 10. mcki frequency at ext slave mode (pmpll bit = ?0?, m/s bit = ?0?) external slave mode does not support mode 0 (dsp mode) of audio interface format. the s/n of the dac at low sampling frequencies is worse than at high sampling frequencies due to out-of-band noise. when the out-of-band noise can be improved by using higher frequency of the master clock. the s/n of the dac output through aout amp at fs=8khz is shown in table 11. mcki s/n (fs=8khz, 20khzlpf + a-weight) 256fs 83db 512fs 93db 1024fs 93db table 11. relationship betw een mcki and s/n of aout the external clocks (mcki, bick and fck) should always be present whenever the adc or dac is in operation (pmadc bit = ?1? or pmdac bit = ?1?). if these clocks are not provided, the ak4631 may draw excess current and it is not possible to operate properly because u tilizes dynamic refreshed logic internally. if the external clocks are not present, the adc and dac should be in the power-down mode (pmadc bit = pmdac bit = ?0?). ak4631 dsp or p mcki bick fck sdto sdti bclk fck sdti sdto mcko 1fs 32fs, 64fs mclk 256fs, 512fs or 1024fs figure 21. ext slave mode
asahi kasei [ak4631] ms0317-e-01 2004/11 - 28 - ? audio interface format four types of data formats are available and are selected by setting the dif1-0 bits . (see table 12) in all modes, the serial data is msb first, 2?s complement format. audio interface fo rmats can be used in both mast er and slave modes. fck and bick are output from ak4631 in master mode, but must be input to ak4631 in slave mode. in mode 1-3, the sdto is clocked out on the falling edge of bick and the sdti is latched on the rising edge. mode dif1 dif0 sdto (adc) sdti (dac) bick figure 0 0 0 dsp mode dsp mode 16fs see table 13 1 0 1 msb justified msb justified 32fs figure 26 2 1 0 msb justified msb justified 32fs figure 27 default 3 1 1 i 2 s compatible i 2 s compatible 32fs figure 28 table 12. audio interface format in mode0 (dsp mode), the audio i/f timing is changed by bckp and msbs bits. when bckp bit is ?0?, sdto data is output by rising edge of bick, sdti data is latched by falling edge of bick. when bckp bit is ?1?, sdto data is output by falling edge of bick, sdti data is latched by rising edge of bick. msb data position of sdto and sdti can be shifted by msbs bit. the shifted period is a half of bick. msbs bit bckp bit audio interface format 0 0 figure 22 default 0 1 figure 23 1 0 figure 24 1 1 figure 25 table 13. audio interface format in mode 0 if 16-bit data that adc outputs is converted to 8-bit data by removing lsb 8-bit, ? ? 1? at 16bit data is converted to ? ? 1? at 8-bit data. and when the dac playbacks this 8-bit data, ? ? 1? at 8-bit data will be converted to ? ? 256? at 16-bit data and this is a large offset. this offset can be removed by addi ng the offset of ?128? to 16-bit data before converting to 8-bit data. ? system reset upon power-up, reset the ak4631 by bringing the pdn pin = ?l?. this ensures that all internal registers reset to their initial values. the adc enters an initialization cycle that starts when the pmadc bit is changed from ?0? to ?1?. the initialization cycle time is 1059/fs, or 133ms@fs=8khz. during the initializati on cycle, the adc digital da ta outputs of both channels are forced to a 2's compliment, ?0?. the adc output refl ects the analog input signal afte r the initialization cycle is complete. the dac does not require an initialization cycle.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 29 - fck bick ( 16fs ) sdto(o) 15 0 1 8 8 9 11 12 14 15 0 1 8 8 9 11 12 14 15 0 0 15 5 88 7 1 43 10 13 2 6 0 15 4 876 0 3 2 1 5 13 10 15 2 14 14 2 0 15 5 8 7 1 432 6 0 15 4 76 0 3 2 1 5 15 14 14 sdti(i) bick ( 32fs ) sdto(o) 15 0 1 8 14 15 17 18 30 31 0 1 8 8 9 11 12 30 31 0 15 82 1 16 29 0 15 821 0 13 10 15:msb, 0:lsb 1/fs 2 14 14 2 15 2 1 0 15 8210 14 14 sdti(i) 1/fs don?t care don?t care figure 22. mode 0 timing (bckp = ?0?, msbs = ?0?) fck bick ( 16fs ) sdto(o) 15 0 1 8 8 9 11 12 14 15 0 1 8 8 9 11 12 14 15 0 0 15 5 88 7 1 43 10 13 2 6 0 15 4 876 0 3 2 1 5 13 10 15 2 14 14 2 0 15 5 8 7 1 432 6 0 15 4 76 0 3 2 1 5 15 14 14 sdti(i) bick ( 32fs ) sdto(o) 15 0 1 8 14 15 17 18 30 31 0 1 8 8 9 11 12 30 31 0 15 82 1 16 29 0 15 821 0 13 10 15:msb, 0:lsb 1/fs 2 14 14 2 15 2 1 0 15 8210 14 14 sdti(i) 1/fs don?t care don?t care figure 23. mode 0 timing (bckp = ?1?, msbs = ?0?)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 30 - fck bick ( 16fs ) sdto(o) 15 0 1 8 8 9 11 12 14 15 0 1 8 8 9 11 12 14 15 0 0 15 5 88 7 1 43 10 13 2 6 0 15 4 876 0 3 2 1 5 13 10 15 2 14 14 2 0 15 5 8 7 1 432 6 0 15 4 76 0 3 2 1 5 15 14 14 sdti(i) bick ( 32fs ) sdto(o) 15 0 1 8 14 15 17 18 30 31 0 1 8 8 9 11 12 30 31 0 15 82 1 16 29 0 15 821 0 13 10 15:msb, 0:lsb 1/fs 2 14 14 2 15 2 1 0 15 8210 14 14 sdti(i) 1/fs don?t care don?t care figure 24. mode 0 timing (bckp = ?0?, msbs = ?1?) fck bick ( 16fs ) sdto(o) 15 0 1 8 8 9 11 12 14 15 0 1 8 8 9 11 12 14 15 0 0 15 5 88 7 1 43 10 13 2 6 0 15 4 876 0 3 2 1 5 13 10 15 2 14 14 2 0 15 5 8 7 1 432 6 0 15 4 76 0 3 2 1 5 15 14 14 sdti(i) bick ( 32fs ) sdto(o) 15 0 1 8 14 15 17 18 30 31 0 1 8 8 9 11 12 30 31 0 15 82 1 16 29 0 15 821 0 13 10 15:msb, 0:lsb 1/fs 2 14 14 2 15 2 1 0 15 8210 14 14 sdti(i) 1/fs don?t care don?t care figure 25. mode 0 timing (bckp = ?1?, msbs = ?1?)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 31 - fck bick(32fs) sdto(o) 0 1 2 8 9 10 12 13 15 0 1 2 8 9 10 12 13 15 0 15 1 14 4 87 6 0 32 11 1 4 1 5 14 11 15 bick(64fs) sdto(o) 0 1 2 3 14 15 17 18 31 0 1 2 14 15 17 18 31 0 15 1 14 0 15 sdti(i) 10 15 14 15:msb, 0:lsb data 1/fs don?t care 2 1 13 don?t care 16 16 3 3 13 3 15 14 4 7 6 0 321 5 15 13 sdti(i) don?t care figure 26. mode 1 timing fck bick(32fs) sdto(o) 0 1 2 8 9 10 12 13 15 0 1 2 8 9 10 12 13 15 0 15 1 14 4 87 6 0 32 11 1 4 1 5 14 11 15 13 bick(64fs) sdto(o) 0 1 2 3 14 15 17 18 31 0 1 2 14 14 15 17 18 31 0 15 1 14 0 15 sdti(i) 15:msb, 0:lsb data 1/fs don?t care 2 1 13 don?t care 16 16 3 13 15 14 2 1 13 0 15 sdti(i) 15 14 4 87 6 0 321 5 15 don?t care figure 27. mode 2 timing
asahi kasei [ak4631] ms0317-e-01 2004/11 - 32 - fck bick(32fs) sdto(o) 0 1 2 4 9 10 12 13 15 0 1 2 4 9 10 12 13 15 0 1 15 5 13 7 7 1 43 11 1 4 2 6 0 14 11 13 bick(64fs) sdto(o) 0 1 2 3 14 15 17 18 31 0 1 2 4 14 15 17 18 31 0 1 15 0 sdti(i) 15:msb, 0:lsb data 1/fs don?t care 2 1 14 don?t care 16 16 3 13 15 2 1 14 0 14 3 3 4 sdti(i) 15 5 13 7 1 432 6 0 14 figure 28. mode 3 timing ? digital high pass filter the adc has a digital high pass filter for dc offset cancellation. the cut-off frequency of the hpf is 1.25hz (@fs=8khz) and scales with sampling rate (fs). ? mic gain amplifier the ak4631 has a gain amplifier for microphone input. this gain is 0db, +20db, +26db or +32db, selected by the mgain1-0 bit. the typical input impedance is 30k ? . mgain1 bit mgain0 bit input gain 0 0 0db 0 1 +20db default 1 0 +26db 1 1 +32db table 14. input gain ? mic power the mpi pin supplies power for the microphone. this output voltage is typically 0.75 x avdd and the load resistance is minimum 2k ? . no capacitor must not be connected directly to mpi pin. (see figure 29) mpi pin 2k ? figure 29. mic block circuit
asahi kasei [ak4631] ms0317-e-01 2004/11 - 33 - ? manual mode the ak4631 becomes a manual mode at alc1 bit = ?0?. this mode is used in the case shown below. 1. after exiting reset state, set up the registers for the alc1 operation (ztm1-0, lmth and etc) 2. when the registers for the alc1 operation (limite r period, recovery period and etc) are changed. for example; when the change of the sampling frequency. 3. when ipga is used as a manual volume. when ipga6-0 bits are written at manual mode, the counter for zero cross time out is reset and restart. the ipga6-0 bits value are reflected to ipga at zero cro ss or zero cross time out. the time of zero cross time out is set by ztm1-0 bits. when writing to ipga6-0 bits continually, the control register should be written by an interval of more than zero crossing timeout. ? mic-alc operation the alc (automatic level control) of mic input is done by alc1 block when alc1 bit is ?1?. [1] alc1 limiter operation when the alc1 limiter is enabled, and ipga output exceeds the alc1 limiter detection level (lmth), the ipga value is attenuated by the amount defined in the alc1 limiter att step (lmat1-0 bits) automatically. when the zelm bit = ?1?, the timeout period is set by the ltm1-0 bits. the opera tion for attenuation is done continuously until the input signal level becomes lmth or less. if the alc1 bit does not change into ?0? after completing the attenuation, the attenua tion operation repeats while the input signal level equals or exceeds lmth. when the zelm bit = ?0?, the timeout period is set by the ztm1-0 bits. this enable s the zero-crossing attenuation function so that the ipga value is attenuated at the zero-detect points of the waveform. [2] alc1 recovery operation the alc1 recovery refers to the am ount of time that the ak4631 will allow a signal to exceed a predetermined limiting value prior to enabling the limiting function. the alc1 rec overy operation uses the wtm1-0 bits to define the wait period used after completing an alc1 limiter operation. if the input signal does not exceed the ?alc1 recovery waiting counter reset level?, the alc1 recovery operation starts. the ipga value increases automatically during this operation up to the reference level (ref6-0 bits). the alc1 recovery operation is done at a period set by the wtm1-0 bits. zero crossing is detected during wtm1-0 period, the alc1 rec overy operation waits wtm1-0 pe riod and the next recovery operation starts. during the alc1 recovery operation, wh en input signal level exceeds the alc1 limiter detection level (lmth), the alc1 recovery operation changes immediately into an alc1 limiter operation. in the case of ?(recovery waiting counter reset level) ipga output level < limiter detection level? during the alc1 recovery operation, the wait timer for the alc1 recovery opera tion is reset. therefore, in the case of ?(recovery waiting counter reset level) > ipga output level?, the wa it timer for the alc1 recovery operation starts. the alc1 operation corresponds to the impulse noise. when the impulse noise is input, the alc1 recovery operation becomes faster than a normal recovery operation.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 34 - [3] example of alc1 operation table 15 shows the example of the alc1 setting. in case of this example, alc1 operation starts from 0db. fs=8khz fs=16khz register name comment data operation data operation lmth limiter detection level 1 -4dbfs 1 -4dbfs ltm1-0 limiter operation period at zelm = 1 00 don?t use 00 don?t use zelm limiter zero crossing det ection 0 enable 0 enable ztm1-0 zero crossing timeout period 00 16ms 01 16ms wtm1-0 recovery waiting period *wtm1-0 bits should be the same data as ztm1-0 bits 00 16ms 01 16ms ref6-0 maximum gain at recovery operation 47h +27.5db 47h +27.5db ipga6-0 ipga gain at the start of alc1 operation 10h 0db 10h 0db lmat1-0 limiter att step 00 1 step 00 1 step ratt recovery gain step 0 1 step 0 1 step alc1 alc1 enable bit 1 enable 1 enable table 15. examples of the alc1 setting the following registers should not be changed during the alc1 operation. these bits should be changed, after the alc1 operation is finished by alc1 bit = ?0? or pmmic bit = ?0?. ? ltm1-0, lmth, lmat1-0, wtm1-0, ztm1-0, ratt, ref6-0, zelm bits when setting ipga gain at the start of alc1 operation, ipga6-0 bits should be set while pmmic bit is ?1? and alc1 bit is ?0?. when pmmic bit = ?1?, ipga6-0 bits value aren?t reflected to ipga. when alc1 bit is changed from ?1? to ?0?, ipga holds the last gain value set automatically by alc1 operation. manual mode * the value of ipga should be the same or smaller than ref?s wr (ztm1-0, wtm1-0, ltm1-0) wr (ref6-0) wr (ipga6-0) a lc1 o p eration wr (alc1= ?1?, lmat1-0, ratt, lmth, zelm) example: limiter = zero crossing enable recovery cycle = 16ms @ fs= 8khz limiter and recovery step = 1 maximum gain = +27.5db limiter detection level = -4dbfs alc2 bit = ?1? (default) (1) addr=06h, data=00h (2) addr=08h, data=47h (4) addr=07h, data=61h (3) addr=09h, data=10h note : wr : write figure 30. registers set-up sequence at the alc1 operation
asahi kasei [ak4631] ms0317-e-01 2004/11 - 35 - ? digital output volume the ak4631 has a digital output volume (256 levels, 0.5db step, mute). the volume can be set by the dvol7-0 bits. the volume is included in front of a dac block, a input data of dac is changed from +12 to ?115db with mute. this volume has a soft transition function. it takes 1061/fs or 256/fs from 00h to ffh. dvol7-0 gain 00h +12.0db 01h +11.5db 02h +11.0db ? ? 18h 0db default ? ? fdh ? 114.5db feh ? 115.0db ffh mute ( ? ) table 16. digital output volume code table the transition time from 00h to ffh of dvol7-0 bits dvtm bit transition time fs=8khz fs=22.05khz 0 1061/fs 133msec 48msec 1 256/fs 32msec 12msec table 17.setting of transition time ? beep input when the pmbp bit is set to ?1?, the beep input is powered -up. and when the beeps bit is set to ?1?, the input signal from the beep pin is output to speaker-amp. when the beepa bit is set to ?1?, the input signal from the beep pin is output to the mono line output amplifier. the external resister ri adjusts the signal level of beep input. the gains are shown in table 18, when ri = 20k ? . these gain are in inverse proportion to ri. beep - + rf ri figure 31. block diagram of beep pin spkg1-0 bits beep ? spp/spn gain beep ? aout gain 00 +7.89db 0db 01 +9.93db 0db 10 +14.11db 0db 11 +16.15db 0db table 18. beep input gain at r i = 20k ?
asahi kasei [ak4631] ms0317-e-01 2004/11 - 36 - ? mono line output (aout pin) a signal of dac is output from aout pin. when the daca bit is ?0?, this output is off. the load resistance is 10k ? (min). when pmao bit is ?0? and aopsn bit is ?0?, the mono line output enters power-down and is pulled down by 100 ? (typ). if pmao bit is controlled at aopsn bit = ?1?, pop noise will be reduced at power-up and down. then, this line should be pulled down by 20k ? of resister after c-coupling shown in figure 32. this rising and falling time is max 300 ms at c=1.0 f . when pmao bit is ?1? and aopsn bit is ?0?, the mono line output enters power-up state. aout 1 ? ? figure 32. aout external circuit in case of using pop reduction function. aout control sequence in case of using pop reduction circuit pmao bit a opsn bit a out pin (1) (2) norm al output (3) (4) (5) (6) 300 m s 300 m s figure 33. mono line output control sequence in case of using pop reduction function.. (1) set aopsn bit = ?1?. mono line output enters the power-save mode. (2) set pmao bit = ?1?. mono line output exits the power-down mode. aout pin rises up to vcom voltage. rise time is 200ms (max 300ms) at c=1 f. (3) set aopsn bit = ?0? after aout pin rises up. mono line output exits the power-save mode. mono line output is enabled. (4) set aopsn bit = ?1?. mono line output enters power-save mode. (5) set pmao bit = ?1?. mono line output enters power-down mode. aout pin falls down to avss. fall time is 200ms (max 300ms) at c=1 f. (6) set aopsn bit = ?0? after aout pin falls down. mono line output exits the power-save mode.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 37 - ? speaker output the power supply voltage for speaker-amp svdd can be set to from 2.6v to 5.25v. however, svdd should be set to from 2.6v to 3.6v, when the lo ad resistance is less than 50 ? (ex. a dynamic speaker). the output signal from dac is input to the speaker-amp via the alc2 circuit. this speaker-amp is a mono output controlled by btl and a gain of the speaker-amp is set by spkg1-0 bit. in the case of alc2 off, the output voltage depends on avdd and spkg1-0 bits. in the case of alc2 on, the output voltage depends on svdd and spkg1-0 bits. the output level of alc2 is proportional to svdd. spkg1-0 bits gain 00 0db 01 +2.04db 10 +6.22db 11 +8.26db (note) these gain from the level at spkg1-0bits= ?00?. table 19. gain of speaker-amp at alc2 off spkg1-0 bits avdd svdd output voltage from speaker-amp at alc2 off and dac input=-0.5dbfs output voltage from speaker-amp at alc on 00 3.3v 3.3v 3.09vpp, 150mw@8 ? 3.09vpp, 150mw@8 ? 01 3.3v 3.3v 3.92vpp, 240mw@8 ? 3.92vpp, 240mw@8 ? 10 3.3v 3.3v 6.34vpp (note) not available 11 3.3v 3.3v 8.02vpp (note) not available 00 3.3v 5.0v 3.09vpp not available 01 3.3v 5.0v 3.92vpp not available 10 3.3v 5.0v 6.34vpp 6.34vpp 11 3.3v 5.0v 8.02vpp 8.02vpp (note) this output voltage is assumed that the signal isn?t clipped. in actual, the signal will be clipped when dac outputs 0dbfs signal. in order to avoid this clipping, speaker-amp output voltage should be attenuated to less than 3.92vpp by the digital volume. table 20 speaker-amp output voltage [caution for using piezo speaker] when a piezo speaker (load capacitance > 30pf) is used, resistances more than 10 ? should be inserted between spp/spn pins and speaker in series, respectively, as shown in fi gure 34. zener diodes should be inserted between speaker and gnd as shown in figure 34, in order to protect spk-amp of ak4631 from the power that the piezo speaker outputs when the speaker is pressured. zener diodes of the following zener voltage should be used. 92% of svdd zener voltage of zener diodo(zd of figure 34) svdd+0.3v ex) in case of svdd = 5.0v : 4.6v zd 5.3v for example, zener diode which zener voltage is 5.1v(min :4.97v, max 5.24v) can be used.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 38 - spp spk-amp spn 10 ? 10 ? figure 34. circuit of speaker output(load capacitance > 30pf) speaker blocks (mout, alc2 and speaker-amp) can be powered-up/down by controlling the pmspk bit. when the pmspk bit is ?0?, the mout, spp and spn pins are placed in a hi-z state. when the pmspk bit is ?1? and spps bit is ?0?, the speaker-amp enters power-sav e-mode. in this mode, the spp pin is placed in a hi-z state and the spn pin goes to svdd/2 voltage. and then the sp eaker output gradually changes to the svdd/2 voltage and this mode can reduce pop noise at powe r-up. when the ak4631 is powered-down, pop noise can be also reduced by first entering power-save-mode. pmspk bit spps bit spp pin spn pin svdd/2 svdd/2 hi-z hi-z hi-z hi-z >t1(note) >0 figure 35. power-up/power-down timing for speaker-amp (note) ?t1? depends on the time constant of input resistan ce of min and capacitor between mout pin and min pin. if s peaker-amp output is enabled before min-amp (alc2) becomes stable, pop noise may occur. ex) c of mout pin ? min pin = 0.1 f, input resistance of min pin = 36k ? (max) : t1 = 5 = 18ms c of mout pin ? min pin and the input resistance(rin) of min pin compose of hpf which cut off frequency(fc) are the followings. fc = 66hz@rin=24k ? (typ), 133hz@rin=12k ? (min), 44hz@rin=36k ? (max)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 39 - ? spk-alc operation the alc (automatic level control) operation of speaker output is done by alc2 block when alc2 bit is ?1?. input resistance of the alc2 is 24k ? (typ) and centered around vcom voltage. the alc2 level diagram is shown in figure 36 ~ figure 39. the limiter detection level is proportional to svdd voltage. the output level is limited by the alc2 circuit when the input signal exceeds ?7.1dbv (@spkg1 bit = ?0?, svdd=3. 3v or @spkg1 bit = ?1?, svdd = 5v). when a continuous signal of ?7.1dbv or greater is input to the alc2 circuit, the change period of the alc2 limiter operation is 250 s (=2/fs@fs=8khz) and the attenuation level is 0.5db/step. the alc2 recovery operation uses zero cr ossings and gains of 1db/step. the al c2 recovery operation is done until the input level of the speaker-amp goes to ?9.1dbv (@spkg1 bit = ?0?, svdd=3.3v or @spkg1 bit = ?1?, svdd = 5v). maximum gain of the alc2 recovery operation is set by rfs5-0 bits. when the input signal is between ?9.1dbv and ?7.1dbv, the alc2 limiter or recovery operations are not done. when the pmspk bit changes from ?0? to ?1?, the initilization cycle (512/fs = 64ms @fs=8khz at rotm bit = ?0?) starts. the alc2 is disabled (the alc2 gain is fixed to ?-3.5db?.) during the initilization cycle and the alc2 starts from ??2db? after completing the initilization cycle. the rotm bit and rfs5-0 b its set during the pmspk bit = ?0?. when the alc2 is disable, a gain of the alc2 block is fixed to -3.5db. therefore, a gain of internal speaker block is shown in table 22. parameter alc2 limiter opera tion alc2 recovery operation operation start level ? 5.2dbv ? 7.2dbv fs=8khz 2/fs = 250 s 512/fs=64ms period fs=16khz 2/fs = 125 s 512/fs=32ms zero-crossing detection no yes (timeout = period time) att/gain 0.5db step 1db step table 21. limiter /recovery of alc2 (rotm bit = ?0?) spkg1-0 bits gain 00 +4.4db 01 +6.4db 10 +10.6db 11 +12.7db table 22. gain of speaker-amp at alc2 off(full-differential output)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 40 - -15.1dbv fs fs-12db 0dbv fs-4.0db = -7.1dbv -1.2dbv full-differential -3.1dbv -10dbv -5.2dbv -20dbv -30dbv -23.1dbv -8db -15.1dbv -11.1dbv -3.1dbv fs-6.0db = -9.1dbv +6.0db +14.0db +2.0db -4.0db +7.9db -8db single-ended dvol dac alc2 spk-amp 0.8dbv +7.9db +1.9db (avdd=3.3v, svdd=3.3v, dvol= ? 8.0db/0db, spkg1-0 bit = ?00?,) * fs = full scale figure 36. speaker-amp output level diagram -15.1dbv fs fs-12db 0dbv fs-4db = -7.1dbv 0.8dbv full-differential -3.1dbv -10dbv -3.2dbv -20dbv -30dbv -23.1dbv -8db -15.1dbv -11.1dbv -3.1dbv fs-6.0db = -9.1dbv +6.0db +14.0db +2.0db -4.0db +9.9db -8db single-ended dvol dac alc2 spk-amp 2.8dbv +9.9db +3.9db 10dbv (avdd=3.3v, svdd=3.3v, dvol= ? 8.0db/0db, spkg1-0 bit = ?01?,) * fs = full scale figure 37. speaker-amp output level diagram
asahi kasei [ak4631] ms0317-e-01 2004/11 - 41 - -15.1dbv fs fs-12db 0dbv fs-4db = -7.1dbv 5.0dbv full-differential -3.1dbv -10dbv 1.0dbv -20dbv -30dbv -23.1dbv -8db -15.1dbv -11.1dbv -3.1dbv fs-6.0db = -9.1dbv +6.0db +14.0db +2.0db -4.0db +14.1db -8db single-ended dvol dac alc2 spk-amp 7.0dbv +14.1db +8.1db 10dbv (avdd=3.3v, svdd=5.0v, dvol= ? 8.0db/0db, spkg1-0 bit = ?10?,) * fs = full scale figure 38. speaker-amp output level diagram -15.1dbv fs fs-12db 0dbv fs-4db = -7.1dbv 7.1dbv full-differential -3.1dbv -10dbv 3.1dbv -20dbv -30dbv -23.1dbv -8db -15.1dbv -11.1dbv -3.1dbv fs-6.0db = -9.1dbv +6.0db +14.0db +2.0db -4.0db +16.2db -8db single-ended dvol dac alc2 spk-amp 9.1dbv +16.2db +10.2db 10dbv (avdd=3.3v, svdd=5.0v, dvol= ? 8.0db/0db, spkg1-0 bit = ?11?,) * fs = full scale figure 39. speaker-amp output level diagram
asahi kasei [ak4631] ms0317-e-01 2004/11 - 42 - ? serial control interface internal registers may be written by usi ng the 3-wire p interface pins (csn, ccl k and cdti). the data on this interface consists of a 2-bit chip address (fixed to ?10?), read/write (fixed to ?1?), register address (msb first, 5bits) and control data (msb first, 8bits). address and data is clocke d in on the rising edge of cclk and data is clocked out on the falling edge. the clock speed of cclk is 5mhz (max). the value of internal registers is initialized at pdn pin = ?l?. csn cclk 0 1 2 3 4 5 67891011 12 13 14 15 cdti c1 c0 a 2 a 3 a 2 a 0 a 4 d7 d6 d5 d4 d3 d2 d1 d0 r/w c1-c0: chip address (c1 = ?1?, c0 = ?0?); fixed to ?10? r/w: read/write (?1?: write, ?0?: read); fixed to ?1? a 4-a0: register address d7-d0: control data ?1? ?0? ?1? figure 40. serial control i/f timing
asahi kasei [ak4631] ms0317-e-01 2004/11 - 43 - ? register map addr register name d7 d6 d5 d4 d3 d2 d1 d0 00h power management 1 0 pmvcm pmbp pmspk pmao pmdac pmmic pmadc 01h power management 2 0 0 0 0 m/s mckpd mcko pmpll 02h signal select 1 spps beeps alc2s daca dacm mpwr micad mgain0 03h signal select 2 0 aopsn mgai n1 spkg1 spkg0 beepa alc1m alc1a 04h mode control 1 pll3 pll2 pll1 pll0 bcko1 bcko0 dif1 dif0 05h mode control 2 0 0 fs3 msbs bckp fs2 fs1 fs0 06h timer select dvtm rotm ztm1 ztm0 wtm1 wtm0 ltm1 ltm0 07h alc mode control 1 0 alc2 alc1 zelm lmat1 lmat0 ratt lmth 08h alc mode control 2 0 ref6 re f5 ref4 ref3 ref2 ref1 ref0 09h input pga control 0 ipga6 ipga5 ipga4 ipga3 ipga2 ipga1 ipga0 0ah digital volume control dvol 7 dvol6 dvol5 dvol4 dvol 3 dvol2 dvol1 dvol0 0bh alc2 mode control 0 0 rfs5 rfs4 rfs3 rfs2 rfs1 rfs0 the pdn pin = ?l? resets the registers to their default values. note: unused bits must contain a ?0? value. note: only write to address 00h to 0bh.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 44 - ? register definitions addr register name d7 d6 d5 d4 d3 d2 d1 d0 00h power management 1 0 pmvcm pmbp pmspk pmao pmdac pmmic pmadc default 0 0 0 0 0 0 0 0 pmadc: adc block power control 0: power down (default) 1: power up when the pmadc bit changes from ?0 ? to ?1?, the initialization cycle (1059/fs=133ms@8khz) starts. after initializing, digital data of the adc is output. pmmic: mic in block (mic-a mp and alc1) power control 0: power down (default) 1: power up pmdac: dac block power control 0: power down (default) 1: power up pmao: mono line out power control 0: power down (default) 1: power up pmspk: speaker block power control 0: power down (default) 1: power up pmbp: beep in power control 0: power down (default) 1: power up even if pmbp bit is ?0?, the pa th is still connected between beep and aout/spk-amp. beeps and beepa bits should be set to ?0? to disconnect these paths. pmvcm: vcom block power control 0: power down (default) 1: power up each block can be powered-down respectiv ely by writing ?0? in each bit. when the pdn pin is ?l?, all blocks are powered-down. when pmpll and mcko bits and all bits in 00h address are ?0?, all blocks are powered-down. though the ipga resisters are initialized, the other registers remain unchanged. (refer to the ipga6-0 bits description) when any of the blocks are powered- up, the pmvcm bit must be set to ?1?. when pmpll and mcko bits and all bits in 00h address are ?0?, pmvcm bit can write to ?0?. when beep signal is output from speaker-amp (signal path: beep pin ? spp/spn pins) or mono lineout-amp (signal path: beep pin ? aout pin) only, the clocks may not be pres ent. when adc, dac, alc1 or alc2 is in operation, the clocks must always be present.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 45 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 01h power management 2 0 0 0 0 m/s mckpd mcko pmpll default 0 0 0 0 0 1 0 0 pmpll: pll block po wer control select 0: pll is power down and external is selected. (default) 1: pll is power up and pll mode is selected. mcko: master clock output enable 0: ?l? output (default) 1: 256fs output mckpd: mcki pin pull down control 0: master clock input enable 1: pull down by 25k ? (typ.) (default) m/s: select master / slave mode 0: slave mode (default) 1: master mode
asahi kasei [ak4631] ms0317-e-01 2004/11 - 46 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 02h signal select 1 spps beeps alc2s daca dacm mpwr micad mgain0 default 0 0 0 0 0 0 0 1 mgain1-0 : 1 st mic-amp gain control(see table 23) mgain 1 bit is located at d6 bit of 03h mgain1 bit mgain0 bit input gain 0 0 0db 0 1 +20db default 1 0 +26db 1 1 +32db table 23. input gain micad: switch control from mic in to adc. 0: off (default) 1: on when micad bit is ?1?, the alc1 output signal is input to adc. mpwr: power supply control for microphone 0: off (default) 1: on when pmmic bit is ?1?, mpwr bit is enabled. dacm: switch control from dac to mono amp. 0: off (default) 1: on when pmspk bit is ?1?, dacm bit is enabled. when pmspk bit is ?0?, mout pin is hi-z state. daca: switch control from dac to mono line amp 0: off (default) 1: on when pmao bit is ?1?, daca bit is enabled. when pmao bit is ?0?, the aout pin is avss. alc2s: alc2 output to speaker-amp enable 0: off (default) 1: on when alc2s bit is ?1?, the alc2 output signal is input to speaker-amp. beeps: beep pin to speaker-amp enable 0: off (default) 1: on when beeps bit is ?1?, the beep signal is input to speaker-amp. spps: speaker-amp power-save-mode 0: power save mode (default) 1: normal operation when spps bit is ?1?, the speaker-amp is in power-save-mode and the spp pin becomes hi-z and spn pin is set to svdd/2 voltage. when the pmspk bit = ?1?, this bit is valid. af ter the pdn pin changes from ?l? to ?h?, the pmspk bit is ?0?, which powers down speaker-amp.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 47 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 03h signal select 2 0 0 mgain1 spkg1 spkg0 beepa alc1m alc1a default 0 0 0 0 0 0 0 0 alc1a: switch control from alc1 output signal to mono line output amp. 0: off (default) 1: on when pmao bit is ?1?, alc1a bit is enabled. when pmao bit is ?0?, the aout pin is avss. alc1m: switch control from alc1 output signal to mono amp. 0: off (default) 1: on when pmspk bit is ?1?, alc1m is enabled. when pmspk bit is ?0?, the mout pin goes hi-z state. beepa: switch control from beep signal to mono line output amp. 0: off (default) 1: on when pmao bit is ?1?, beepa is enabled. wh en pmao bit is ?0?, the aout pin is avss. spkg1-0: select speaker-amp output gain (see table 24) spkg1-0 bits gain 00 0db 01 +2.2db 10 +4.4db 11 +8.7db table 24. gain of speaker-amp mgain1: mic-amplifier gain control(see table 23) dac mix alc2 alc2s spk ipga dacm alc1m aout beep beeps alc1a daca beepa figure 41. speaker and mono lineout-amps switch control
asahi kasei [ak4631] ms0317-e-01 2004/11 - 48 - aopsn: mono line output power-save mode 0: normal operation 1: power-save mode (default) power-save mode is enable at aopsn bit = ?1?. po p noise at power-up/down can be reduced by changing at aopsn bit = ?1?. (see figure 33) addr register name d7 d6 d5 d4 d3 d2 d1 d0 04h mode control 1 pll3 pll2 pll1 pll0 bcko1 bcko0 dif1 dif0 default 0 0 0 0 0 0 1 0 dif1-0: audio interface format (see table 25) mode dif1 bit dif0 bit sdto (adc) sdti (dac) bick figure 0 0 0 dsp mode dsp mode 16fs see table 31 1 0 1 msb justified lsb justified 32fs figure 26 2 1 0 msb justified msb justified 32fs figure 27 default 3 1 1 i 2 s compatible i 2 s compatible 32fs figure 28 table 25. audio interface format bcko1-0: select bick output frequency at master mode (see table 26) mode bcko1 bit bcko0 bit bick output frequency 0 0 0 16fs default 1 0 1 32fs 2 1 0 64fs 3 1 1 n/a table 26. bick output frequency at master mode pll3-0: select input frequency at pll mode (see table 27) mode pll3 bit pll2 bit pll1 bit pll0 bit pll reference clock input pin input frequency 0 0 0 0 0 fck pin 1fs default 1 0 0 0 1 bick pin 16fs 2 0 0 1 0 bick pin 32fs 3 0 0 1 1 bick pin 64fs 4 0 1 0 0 mcki pin 11.2896mhz 5 0 1 0 1 mcki pin 12.288mhz 6 0 1 1 0 mcki pin 12mhz 7 0 1 1 1 mcki pin 24mhz 12 1 1 0 0 mcki pin 13.5mhz 13 1 1 0 1 mcki pin 27mhz others others n/a table 27. setting of pll mode (*fs: sampling frequency)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 49 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 05h mode control 2 0 0 fs3 msbs bckp fs2 fs1 fs0 default 0 0 0 0 0 0 0 0 fs3-0: setting of sampling frequency (see table 28 and table 29) and mcki frequency (see table 30) these bits are selected to sampling frequency at pll mode and mcki frequency at ext mode. mode fs3 bit fs2 bit fs1 bit fs0 bit sampling frequency 0 0 0 0 0 8khz default 1 0 0 0 1 12khz 2 0 0 1 0 16khz 3 0 0 1 1 24khz 4 0 1 0 0 7.35khz 5 0 1 0 1 11.025khz 6 0 1 1 0 14.7khz 7 0 1 1 1 22.05khz 10 1 0 1 0 32khz 11 1 0 1 1 48khz 14 1 1 1 0 29.4khz 15 1 1 1 1 44.1khz others others n/a table 28. setting of sampling frequency at pll2 bit = ?1? and pmpll bit = ?1? mode fs3 bit fs2 bit fs1 bit fs0 bit sampling frequency range 0 0 don?t care 0 0 7.35khz fs 8khz default 1 0 don?t care 0 1 8khz < fs 12khz 2 0 don?t care 1 0 12khz < fs 16khz 3 0 don?t care 1 1 16khz < fs 24khz 6 1 don?t care 1 0 24khz < fs 32khz 7 1 don?t care 1 1 32khz < fs 48khz others others n/a table 29. setting of sampling frequency at pll2 bit = ?0? and pmpll bit = ?1? mode fs3-2 bits fs1 bit fs0 bit mcki input frequency sampling frequency range 0 don?t care 0 0 256fs 7.35khz fs 48khz default 1 don?t care 0 1 1024fs 7.35khz < fs 13khz 2 don?t care 1 0 256fs 7.35khz < fs 48khz 3 don?t care 1 1 512fs 7.35khz < fs 26khz table 30. mcki frequency at ext slave m ode (pmpll bit = ?0?, m/s bit = ?0?) bckp, msbs: ?00? (default) (see table 31) msbs bit bckp bit audio interface format 0 0 figure 22 default 0 1 figure 23 1 0 figure 24 1 1 figure 25 table 31. audio interface format in mode 0
asahi kasei [ak4631] ms0317-e-01 2004/11 - 50 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 06h timer select dvtm rotm ztm1 ztm0 wtm1 wtm0 ltm1 ltm0 default 0 0 0 0 0 0 0 0 ltm1-0: alc1 limiter operation pe riod at zero crossing disable ( zelm bit = ?1?) (see table 32) the ipga value is changed immediately. when the ip ga value is changed continuously, the change is done by the period specified by the ltm1-0 bits. default is ?00? (0.5/fs). alc1 limiter operation period ltm1 bit ltm0 bit 8khz 16khz 0 0 0.5/fs 63 s 31 s default 0 1 1/fs 125 s 63 s 1 0 2/fs 250 s 125 s 1 1 4/fs 500 s 250 s table 32. alc1 limiter operation period at zero crossing disable (zelm bit=?1?) wtm1-0: alc1 recovery waiting period (see table 33) a period of recovery operation when any limiter ope ration does not occur during the alc1 operation. default is ?00? (128/fs). alc1 recovery operation waiting period wtm1 bit wtm0 bit 8khz 16khz 0 0 128/fs 16ms 8ms default 0 1 256/fs 32ms 16ms 1 0 512/fs 64ms 32ms 1 1 1024/fs 128ms 64ms table 33. alc1 recovery operation waiting period ztm1-0: alc1 zero crossing timeout period (see table 34) when the ipga perform zero crossing or timeout, the ipga value is changed by the p write operation, alc1 recovery operation or alc1 limiter operation (zelm bit = ?0?). default is ?00? (128/fs). zero crossing timeout period ztm1 bit ztm0 bit 8khz 16khz 0 0 128/fs 16ms 8ms default 0 1 256/fs 32ms 16ms 1 0 512/fs 64ms 32ms 1 1 1024/fs 128ms 64ms table 34. zero crossing timeout period rotm: period time for alc2 recovery operation, alc2 zero crossing timeout and alc2 initializing cycle. 0: 512/fs (default) 1: 1024/fs the rotm bit is set during the pmspk bit = ?0?. dvtm : digital volume soft transition time control 0: 1061/fs (default) 1: 256/fs this is the time to ffh from 00h of dvol7-0 bits.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 51 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 07h alc mode control 1 0 alc2 alc1 zelm lmat1 lmat0 ratt lmth default 0 1 0 0 0 0 0 0 lmth: alc1 limiter detection level / recove ry waiting counter reset level (see table 35 ) the alc1 limiter detection level and the alc1 recove ry counter reset level may be offset by about 2db. default is ?0?. lmth bit alc1 limiter detection level alc1 recovery waiting counter reset level 0 adc input ? 6.0dbfs ? 6.0dbfs > adc input ? 8.0dbfs default 1 adc input ? 4.0dbfs ? 4.0dbfs > adc input ? 6.0dbfs table 35. alc1 limiter detection level / recovery waiting counter reset level ratt: alc1 recovery gai n step (see table 36) during the alc1 recovery operation, the number of st eps changed from the current ipga value is set. for example, when the current ipga value is 30h and ratt bit = ?1? is set, the ipga changes to 32h by the alc1 recovery operation and the output signal level is gained up by 1db (=0.5db x 2). when the ipga value exceeds the reference level (ref6-0 bits ), the ipga value does not increase. ratt bit gain step 0 1 default 1 2 table 36. alc1 recovery gain step setting lmat1-0: alc1 limiter att step (see table 37) during the alc1 limiter operation, when ipga output si gnal exceeds the alc1 limiter detection level set by lmth, the number of steps attenuated from the current ipga value is set. for example, when the current ipga value is 47h and the lmat1-0 bits = ?11?, the ipga transition to 43h when the alc1 limiter operation starts, resulting in the input signal level bei ng attenuated by 2db (=0.5db x 4). when the attenuation value exceeds ipga = ?00? ( ? 8db), it clips to ?00?. lmat1 bit lmat0 bit att step 0 0 1 default 0 1 2 1 0 3 1 1 4 table 37. alc1 limiter att step setting zelm: enable zero crossing detec tion at alc1 limiter operation 0: enable (default) 1: disable when the zelm bit = ?0?, the ipga of each l/r channel perform a zero crossing or timeout independently and the ipga value is changed by the alc1 operation. the zero crossing timeout is the same as the alc1 recovery operation. when the zelm bit = ?1?, the ipga value is changed immediately.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 52 - alc1: alc1 enable 0: alc1 disable (default) 1: alc1 enable when alc1 bit is ?1?, the alc1 operation is enabled. alc2: alc2 enable 0: alc2 disable 1: alc2 enable (default) after completing the initializing cycle (512/fs = 64ms @f s=8khz at rotm bit = ?0?), the alc2 operation is enabled. when the pmspk bit changes from ?0? to ?1? or pdn pin changes from ?l? to ?h?, the initilization cycle starts. addr register name d7 d6 d5 d4 d3 d2 d1 d0 08h alc mode control 2 0 ref6 re f5 ref4 ref3 ref2 ref1 ref0 default 0 0 1 1 0 1 1 0 ref6-0: reference value at alc1 recovery operation (see table 38) during the alc1 recovery operation, if the ipga value exceeds the setting reference value by gain operation, then the ipga does not become larger than the reference value. for ex ample, when ref7-0 = ?30h?, ratt = 2step, ipga = 2fh, even if the input signal does not exceed the ?alc1 recove ry waiting counter reset level?, the ipga does not change to 2fh + 2s tep = 31h, and keeps 30h. default is ?36h?. data (hex) gain (db) step 47 +27.5 46 +27.0 45 +26.5 : : 36 +19.0 default : : 10 +0.0 : : 06 ? 5.0 05 ? 5.5 04 ? 6.0 03 ? 6.5 02 ? 7.0 01 ? 7.5 00 ? 8.0 0.5db table 38. setting reference value at alc1 recovery operation
asahi kasei [ak4631] ms0317-e-01 2004/11 - 53 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 09h input pga control 0 ipga6 ipga5 ipga4 ipga3 ipga2 ipga1 ipga0 default 0 0 0 1 0 0 0 0 ipga6-0: input analog pga (see table 39) default: ?10h? (0db) when ipga gain is changed, ipga6-0 bits should be written while pmmic bit is ?1 ? and alc1 bit is ?0?. ipga6-0 bits should be set at 2/fs(250 s@fs=8khz) after pmmic bit is set to ?1?. ipga gain is reset when pmmic bit is ?0?, and then ipga operation starts from the default value when pmmic bit is changed to ?1?. when alc1 bit is changed from ?1? to ?0?, ipga holds the last gain value set automatically by alc1 operation. in a manual mode, ipga can be set to any values in table 39.the ztm1-0 bits set zero crossing timeout period when ipga value is changed. when the control register is written from the p, the zero crossing counter is reset and its counter starts. when the signa l zero crossing or zero crossing timeout, the written value from the p becomes valid. data (hex) gain (db) step 47 +27.5 46 +27.0 45 +26.5 : : 36 +19.0 : : 10 +0.0 default : : 06 ? 5.0 05 ? 5.5 04 ? 6.0 03 ? 6.5 02 ? 7.0 01 ? 7.5 00 ? 8.0 0.5db table 39. input gain setting addr register name d7 d6 d5 d4 d3 d2 d1 d0 0ah digital volume control dvol 7 dvol6 dvol5 dvol4 dvol 3 dvol2 dvol1 dvol0 default 0 0 0 1 1 0 0 0 dvol7-0: output digital volume (see table 40) the ak4631 has a digital output volume (256 levels, 0.5db step, mute). the gain can be set by the dvol7-0 bits. the volume is included in front of a dac block, a input data of dac is changed from +12 to ?115db with mute. this volume has a soft transition function. it takes 1061/fs (=133ms @ fs = 8khz) or 256/fs (=32ms @ fs = 8khz) from 00h to ffh. soft transition time is set by dvtm bit. dvol7-0 gain 00h +12.0db 01h +11.5db 02h +11.0db ? ? 18h 0db default ? ? fdh ? 114.5db feh ? 115.0db ffh mute ( ? ) table 40. digital volume code table
asahi kasei [ak4631] ms0317-e-01 2004/11 - 54 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 0bh alc2 mode control 0 0 rfs5 rfs4 rfs3 rfs2 rfs1 rfs0 default 0 0 1 1 1 1 0 0 rfs6-0: reference value at alc2 recovery operation (see table 41) refs5-0 bits volume[db] step 3f +19.5 3e +19.0 3d +18.5 3c +18.0 default : : 0.5db 19 +0.5 18 +0.0 17 -0.5 : : 03 -10.5 02 -11.0 01 -11.5 00 -12.0 table 41. setting reference value at alc2 recovery operation
asahi kasei [ak4631] ms0317-e-01 2004/11 - 55 - system design figure 42 shows the system connection diagram. an evaluation board [akd4631] is available which demonstrates the optimum layout, power supply arrangements and measurement results. mpi 28 27 26 25 24 23 22 vcom 1 2 3 4 5 6 7 a vss vcoc pdn csn cclk mic micout aout mout cdti 21 20 19 18 17 16 15 8 9 10 11 12 13 14 fck sdti sdto bick dvss mcko mcki top vie w 10 a nalog supply 2.6 3.6v dvdd ain beep a vdd spp spn svdd svss min dsp or p + 0.1 10 + 0.1 0.1 1 2.2 0.1 a nalog supply 2.6 5.25v 0.1 10 + cp rp 2.2k 0.22 r c 1 10 + speaker 20k 220 r1 r2 zd2 zd1 dynamic spk : r1,r2 : short zd1,zd2 : open peizo spk : r1,r2 : 10 ? zd1,zd2 : required figure 42. typical connection diagram notes: - avss, dvss and svss of the ak4631 should be distributed separately from the ground of external controllers. - all digital input pins except pull-down pin should not be left floating. - value of r and c of beep pin should depend on system. - when the ak4631 is ext mode (pmpll bit = ?0?), a resistor and capacitor of vcoc pin is not needed. - when the ak4631 is pll mode (pmpll bit = ?1?), a resistor and capacitor of vcoc pin is shown in table 42. - input resistance of ain pin and capacitance between micout pin and ain pin compose of hpf. when the capacitance is 0.22 f, the cut off frequency is typ.72hz(typ)(min. 48hz, max. 145hz). rp and cp of vcoc pin mode pll3 bit pll2 bit pll1 bit pll0 bit pll reference clock input pin input frequency rp[ ? ] cp[f] pll lock time (max) 0 0 0 0 0 fck pin 1fs 6.8k 220n 160ms default 1 0 0 0 1 bick pin 16fs 10k 4.7n 2ms 2 0 0 1 0 bick pin 32fs 10k 4.7n 2ms 3 0 0 1 1 bick pin 64fs 10k 4.7n 2ms 4 0 1 0 0 mcki pin 11.2896mhz 10k 4.7n 40ms 5 0 1 0 1 mcki pin 12.288mhz 10k 4.7n 40ms 6 0 1 1 0 mcki pin 12mhz 10k 4.7n 40ms 7 0 1 1 1 mcki pin 24mhz 10k 4.7n 40ms 12 1 1 0 0 mcki pin 13.5mhz 10k 10n 40ms 13 1 1 0 1 mcki pin 27mhz 10k 10n 40ms others others n/a table 42. setting of pll mode (*fs: sampling frequency)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 56 - 1. grounding and power supply decoupling the ak4631 requires careful attention to power s upply and grounding arrangements. avdd, dvdd and svdd are usually supplied from the system?s analog supply. if avdd, dvdd and svdd are supplied separately, the correct power up sequence should be observed. avss, dvss and svss of the ak4631 should be connected to the analog ground plane. system analog ground and digital ground should be connected together near to where the supplies are brought onto the printed circuit board. decoupling capacitors should be as near to the ak4631 as possible, with the small value ceramic capacitor being the nearest. 2. voltage reference vcom is a signal ground of this chip. a 2.2 f electrolytic capacitor in parallel with a 0.1 f ceramic capacitor attached to the vcom pin eliminates the effects of high frequency noise. no load current may be drawn from the vcom pin. all signals, especially clocks, should be kept away from the vcom pin in order to avoid unwanted coupling into the ak4631. 3. analog inputs the mic and beep inputs are single-ended. the input signal range scales with nominally at 0.06 x avdd vpp for the mic input and 0.6 x avdd vpp for the beep input, centered around the internal common voltage (approx. 0.45 x avdd). usually the input signal is ac coupled using a capacitor. the cut-off frequency is fc = (1/2 rc). the ak4631 can accept input voltages from avss to avdd. 4. analog outputs the input data format for the dac is 2?s complement. th e output voltage is a positive full scale for 7fffh(@16bit) and a negative full scale for 8000h(@16bit). mono output from the mout pin and mono line output from the aout pin are centered at 0.45 x avdd (typ). the speak er-amp output is centered at svdd/2.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 57 - control sequence ? clock set up when adc, dac, alc1, alc2 and ipga are used, the clocks must be supplied. 1. in case of pll master mode. mckpd bit (addr:01h, d2) bick pin fck pin mcko bit (addr:01h, d1) pmpll bit (addr:01h, d0) 40msec(max) output (1) (4) (7) power supply pdn pin pmvcm bit (addr:00h, d6) (2) (3) mcki pin (6) (5) input m/s bit (addr:01h, d3) 1msec (max) (8) mcko pin output (10) (9) 40msec(max) example: audio i/f format: dsp mode, bckp = msbs = ?0? bick frequency at master mode: 64fs input master clock select at pll mode: 11.2896mhz mcko : enable sampling frequency:8khz (1) power supply & pdn pin = ?l? ? ?h? (3)addr:00h, data:40h (2)addr:01h, data:0ch addr:04h, data:48h addr:05h, data:00h (4)addr:01h, data:0bh mcko, bick and fck output figure 43. clock set up sequence (1) (1) after power up, pdn pin = ?l? ? ?h? ?l? time (1) of 150ns or more is needed to reset the ak4631. (2) dif1-0, pll3-0, fs3-0, bcko1-0, msbs, bckp and m/s bits should be set during this period. (3) power upvcom: pmvcm bit = ?0? ? ?1? vcom should first be powered-up be fore the other block operates. (4) release the pull-down resistor of the mcki pin: mckpd bit = ?1? ?0? (5) in case of using mcko output: mcko bit = ?1? in case of not using mcko output: mcko bit = ?0? (6) pll lock time is 40ms(max) after pmpll bit changes from ?0? to ?1? and mcki is supplied from an external source. (7) the ak4631 starts to output the fck and bick clocks after the pll becomes stable. the normal operation of the block which a clock is necessary for becomes possible. (8) the invalid frequencies are output from fck and bick pins during this period. (9) the invalid frequency is output from mcko pin during this period. (10) the normal clock is output from mcko pin after the pll is locked.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 58 - 2. when the external clocks (fck or bi ck pin) are used in pll slave mode. mckpd bit (addr:01h, d2) pmpll bit (addr:01h, d0) internal clock (1) power supply pdn pin pmvcm bit (addr:00h, d6) (2) (3) fck pin bick pin (5) "h" (6) input (4) 4fs of example: audio i/f format : dsp mode, bckp = msbs = ?0? pll reference clock: bick bick frequency: 64fs sampling frequency: 8khz (1) power supply & pdn pin = ?l? ? ?h? (3) addr:00h, data:40h (2) addr:04h, data:30h addr:05h, data:00h (4) addr:01h, data:05h bick and fck input figure 44. clock set up sequence (2) (1) after power up: pdn pin ?l? ? ?h? ?l? time (1) of 150ns or more is needed to reset the ak4631. (2) dif1-0, fs3-0, pll3-0, msbs and bckp bits should be set during this period. (3) power up vcom: pmvcm bit = ?0? ? ?1? vcom should first be powered up be fore the other block operates. (4) pull down of the mcki pin: mckpd bit = ?1? (5) pll starts after the pmpll bit cha nges from ?0? to ?1? and pll reference clock (fck or bick pin) is supplied. pll lock time is 160ms(max) when fck is a pll reference clock. and pll lock time is 2ms(max) when bick is a pll reference clock. (6) normal operation stats after the pll is locked.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 59 - 3. when the external clock (mcki pin) is used in pll slave mode. mckpd bit (addr:01h, d2) bick pin fck pin mcko bit (addr:01h, d1) pmpll bit (addr:01h, d0) (1) (4) power supply pdn pin pmvcm bit (addr:00h, d6) (2) (3) mcki pin (6) (5) input mcko pin output (7) (8) 40msec(max) (9) input example: audio i/f format: dsp mode, bckp = msbs = ?0? bick frequency at master mode: 64fs input master clock select at pll mode: 11.2896mhz mcko : enable sampling frequency:8khz (1) power supply & pdn pin = ?l? ? ?h? (3)addr:00h, data:40h (2)addr:01h, data:04h addr:04h, data:48h addr:05h, data:00h (4)addr:01h, data:03h mcko output start bick and fck input start figure 45. clock set up sequence (3) (1) after power up: pdn pin ?l? ? ?h? ?l? time (1) of 150ns or more is needed to reset the ak4631. (2) dif1-0, pll3-0, fs3-0, bcko1-0, msbs, bckp and m/s bits should be set during this period. (3) power up vcom: pmvcm bit = ?0? ? ?1? vcom should first be powered up before the other block operates. (4) release the pull-down resistor of the mcki pin: mckpd bit = ?1? ?0? (5) enable mcko output: mcko bit = ?1? (6) pll starts after the pmpll bit ch anges from ?0? to ?1? and pll reference clock (mcki pin) is supplied. pll lock time is 40ms(max). (7) the normal clock is output from mcko after pll is locked. (8) the invalid frequency is output from mcko during this period. (9) bick and fck clocks should be synchronized with mcko clock.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 60 - 4. ext slave mode mckpd bit (addr:01h, d2) (1) power supply pdn pin pmvcm bit (addr:00h, d6) (2) (3) fck pin bick pin (5) input pmpll bit (addr:01h, d0) "l" (5) mcki pin input (4) example audio i/f format:msb justified (adc and dac) input mcki frequency: 1024fs sampling frequency:8khz mcko: disable (1) power supply & pdn pin = ?l? ? ?h? (3) addr:00h, data:40h (2) addr:04h, data:02h addr:05h, data:01h (4) addr:01h, data:00h mcki, bick and fck input figure 46. clock set up sequence (4) (1) after power up: pdn pin ?l? ? ?h? ?l? time (1) of 150ns or more is needed to reset the ak4631. (2) dif1-0 and fs1-0 bits should be set during this period. (3) power up vcom: pmvcm bit = ?0? ? ?1? vcom should first be powered up be fore the other block operates. (4) release the pull-down resistor of the mcki pin: mckpd bit = ?1? ? ?0? power down pll: pmpll bit = ?0? (5) normal operation starts after the mcki, fck and bick are supplied.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 61 - ? mic input recording fs3-0 bits (addr:05h, d5,d2-0) mic control (addr:02h, d2-0) pmadc bit (addr:00h, d0) pmmic bit (addr:00h, d1) adc internal state xxx xxxx 001 x1x power down initialize normal state power down 1059 / fs (1) (2) (6) (7) alc1 state alc1 enable alc1 disable alc1 disable (5) alc1 control 1 (addr:06h) xxh 00h (3) alc1 control 2 (addr:08h) xxh 47h (4) alc1 control 3 (addr:07h) xxh 61h or 21h example: pll master mode audio i/f format:dsp mode, bckp=msbs=?0? sampling frequency:8khz pre mic amp:+20db mic power on alc1 setting:refer to figrure 29 a lc2 bit=?1?(default) (2) addr:02h, data:07h (3) addr:06h, data:00h (1) addr:05h, data:00h (4) addr:08h, data:47h (5) addr:07h, data:61h (6) addr:00h, data:43h recording (7) addr:00h, data:40h figure 47. mic input recording sequence this sequence is an example of alc1 setting at s=8khz. if the parameter of the alc1 is changed, please refer to ?figure 30. registers set-up sequence at the alc1 operation? at first, clocks should be supplied according to ?clock set up? sequence. (1) set up a sampling frequency (fs3-0 bit). when the ak4631 is pll mode, mic and adc should be powered-up in consideration of pll lock time after a sampling frequency is changed. (2) set up mic input (addr: 02h) (3) set up timer select for alc1 (addr: 06h) (4) set up ref value for alc1 (addr: 08h) (5) set up lmth, ratt, lmat1-0 and alc1 bits (addr: 07h) (6) power up mic and adc: pmmic bit = pmadc bit = ?0? ?1? the initialization cycle time of adc is 1059/fs=133ms@fs=8khz. after the alc1 bit is set to ?1? and mic block is powered-up, the alc1 operation starts from ipga default value (0db). (7) power down mic and adc: pmmic bit = pmadc bit = ?1? ?0? when the registers for the alc1 operation are not change d, alc1 bit may be keeping ?1?. the alc1 operation is disabled because the mic block is powered-down. if the registers for the alc1 operation are also changed when the sampling frequency is changed, it should be done after the ak4631 goes to the manual mode (alc1 bit = ?0?) or mic block is powered-down (pmmic bit = ?0?). ipga gain is reset when pmmic bit is ?0?, and then ipga operation starts from the default value when pmmic bit is changed to ?1?.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 62 - ? speaker-amp output fs2-0 bits (addr:05h, d5, d2-0) dvol7-0 bits (addr:0ah, d7-0) pmdac bit (addr:00h, d2) pmspk bit (addr:00h, d4) xxxx xxxx 0001100 xxxxxxx spp pin normal output spps bit (addr:02h, d7) hi-z hi-z spn pin normal output hi-z hi-z svdd/2 svdd/2 (1) (4) x 0 (3) alc2 bit (addr:07h, d6) (5) (6) (9) (7) (2) dacm bit (addr:02h, d3) alc2s bit (addr:02h, d5) (8) example: pll, master mode audio i/f format :dsp mode, bckp=msbs= ?0? sampling frequency: 8khz digital volume: -8db alc2 : enable (2) addr:02h, data:28h (3) addr:07h, data:40h (1) addr:05h, data:00h (4) addr:0ah, data:28h (5) addr:00h, data:54h (6) addr:02h, data:a8h (7) addr:02h, data:28h playback (8) addr:00h, data:40h figure 48. speaker-amp output sequence at first, clocks should be supplied according to ?clock set up? sequence. (1) set up a sampling frequency (fs3-0 bits). when th e ak4631 is pll mode, dac and speaker-amp should be powered-up in consideration of pll lock time after a sampling frequency is changed. (2) set up the path of ?dac ? spk-amp? dacm = alc2s bit: ?0? ? ?1? (3) set up the alc2 enable/disable (4) set up the digital volume (addr: 0ah) after dac is powered-up, the digital volume changes from default value (0db) to the register setting value by the soft transition. (5) power up of dac and speaker-a mp: pmdac bit = pmspk bit = ?0? ?1? when alc2 bit = ?1?, the alc2 is disabled (alc2 gain is fiexed to ??2db?) during the initilization cycle (512/fs = 64ms @ fs=8khz, rotm bit = ?0?) and the alc2 starts from ??2db? after completing the initilization cycle. (6) exit the power-save-mode of speaker-amp: spps bit = ?0? ?1? ?(6)? time depends on the time constant of input impe dance of min pin and capacitor between min pin and mout pin. if speaker-amp output is enabled before min-amp (alc2) becomes stable, pop noise may occur. e.g. input impedance of min pin =36k ? (max), c=0.1 f: recommended wait time is more than 5 = 18ms. (7) enter the power-save-mode of speaker-amp: spps bit = ?1? ?0? (8) disable the path of ?dac ? spk-amp? dacm = alc2s bit: ?1? ? ?0? (9) power down dac and speaker-a mp: pmdac bit = pmspk bit = ?1? ?0?
asahi kasei [ak4631] ms0317-e-01 2004/11 - 63 - ? beep signal output from speaker-amp alc2s bit (addr:02h, d5) pmspk bit (addr:00h, d4) beeps bit (addr:02h, d6) spp pin normal output spps bit (addr:02h, d7) hi-z hi-z spn pin normal output hi-z hi-z svdd/2 svdd/2 (3) 0 0 or 1 (1) alc2 bit (addr:07h, d6) (2) (6) (5) pmbp bit (addr:00h, d2) 0 or 1 0 clocks can be stopped. clock (4) (7) example: (2) addr:00h, data:70h (3) addr:02h, data:60h (1) addr:07h, data:00h (4) addr:02h, data:e0h beep signal output (5) addr:02h, data:60h (6) addr:00h, data:40h (7) addr:02h, data:00h figure 49. ?bepp-amp ? speaker-amp? output sequence the clocks can be stopped when only beep-amp and speaker-amp are operating. however alc2 must be disabled. (1) alc2 disable: alc2 bit = ?0? (2) power up beep-amp and speake r-amp: pmbp bit = pmspk bit = ?0? ?1? (3) disable the path of ?alc2 ? spk-amp?: alc2s bit = ?0? enable the path of ?beep ? spk-amp?: beeps bit = ?0? ?1? (4) exit the power-save-mode of speaker-amp: spps bit = ?0? ?1? ?(4)? time depends on the time constant of external resistor and capacitor connected to beep pin. if speaker-amp output is enabled before input of beep-amp becomes stable, pop noise may occur. e.g. r=20k, c=0.1 f: recommended wait time is more than 5 = 10ms. (5) enter the power-save-mode of speaker-amp: spps bit = ?1? ?0? (6) power down beep-amp and speake r-amp: pmbp bit = pmspk bit = ?1? ?0? (7) disable the path of ?beep ? spk-amp?: beeps bit = ?1? ?0?
asahi kasei [ak4631] ms0317-e-01 2004/11 - 64 - ? mono lineout 1. in case of using an external mute circuit.(compatible with ak4536/ak4630) fs3-0 bits (addr:05h, d5,d2-0) dvol7-0 bits (addr:0ah, d7-0) pmdac bit (addr:00h, d2) pmao bit (addr:00h, d3) xxxx xxxx 00011000 xxxxxxx aout pin hi-z hi-z (1) (3) (4) (2) daca bit (addr:02h, d4) (6) normal output (5) example: pll, master mode audio i/f format :dsp mode, bckp=msbs= ?0? sampling frequency: 8khz digital volume: -8db (2) addr:02h, data:10h (3) addr:0ah, data:28h (1) addr:05h, data:00h (4) addr:00h, data:4ch (5) addr:00h, data:40h playback (6) addr:02h, data:00h figure 50. mono lineout sequence at first, clocks should be supplied according to ?clock set up? sequence. (1) set up a sampling frequency (fs3-0 bits). when the ak4631 is pll mode, dac and mono line amp should be powered-up in consideration of pll lock time after a sampling frequency is changed. (2) set up the path of ?dac ? mono line amp? daca bit: ?0? ? ?1? (3) set up the digital volume (addr: 0ah) after dac is powered-up, the digital volume changes from default value (0db) to the register setting value by the soft transition. (4) power up of dac and mono line amp: pmdac bit = pmao bit = ?0? ?1? when dac and mono line amp are powered-up, the pop noise occurs from aout pin. therefore aout pin should be muted by external circuit. (5) power down of dac and mono line amp: pmdac bit = pmao bit = ?1? ? ?0? when dac and mono line amp are powered-down, the pop noise occurs from aout pin. therefore aout pin should be muted by external circuit. (6) disable the path of ?dac ? mono line amp? daca bit: ?1? ? ?0?
asahi kasei [ak4631] ms0317-e-01 2004/11 - 65 - 2. in case of using pop reduction circuit of ak4631. fs2-0 bits (addr:05h, d5,d2-0) dvol7-0 bits (addr:0ah, d7-0) pmdac bit (addr:00h, d2) pmao bit (addr:00h, d3) xxxx xxxx 00011000 xxxxxxx aout pin (1) (3) (4) (2) daca bit (addr:02h, d4) (9) normal output (6) psaon bit (addr:03h, d6) (5) >300 ms (7) (8) >300 ms (10) example: pll, master mode audio i/f format :dsp mode, bckp=msbs= ?0? sampling frequency: 8khz digital volume: -8db mgain1=spkg1=spkg0=beepa=alc1m =alc1a= ?0? (1) addr:05h, data:00h (2) addr:02h, data:10h (3) addr:0ah, data:28h (4) addr:03h, data:40h (5) addr:00h, data:4ch (6) addr:03h, data:00h playback (7) addr:03h, data:40h (8) addr:00h, data:40h (9) addr:02h, data:00h (10) addr:03h, data:00h figure 51. mono lineout sequence at first, clocks should be supplied according to ?clock set up? sequence. (1) set up a sampling frequency (fs3-0 bits). when the ak4631 is pll mode, dac and mono line amp should be powered-up in consideration of pll lock time after a sampling frequency is changed. (2) set up the path of ?dac ? mono line amp? : daca bit: ?0? ? ?1? (3) set up the digital volume (addr: 0ah) after dac is powered-up, the digital volume changes from default value (0db) to the register setting value by the soft transition. (4) enter power-save mode of mono line amp: aopsn bit = ?0? ?1? (5) power up of dac and mono line amp: pmdac bit = pmao bit = ?0? ?1? aout pin rises up to vcom voltage. rise time is 200ms (max 300ms) at c=1 f. (6) exit power-save mode of mono line amp after aout pin rises up. : aopsn bit = ?1? ?0? mono line amp goes to normal operation. (7) enter power-save mode of mono line amp: aopsn bit = ?0? ?1? (8) power down of dac and mono line amp: pmdac bit = pmao bit = ?1? ? ?0? aout pin falls down to avss. fall time is 200ms (max 300ms) at c=1 f. (9) disable the path of ?dac ? mono line amp? : daca bit: ?1? ? ?0? (10) exit power-save mode of mono line amp after aout pin falls down. : aopsn bit = ?1? ?0?
asahi kasei [ak4631] ms0317-e-01 2004/11 - 66 - ? stop of clock master clock can be stopped when adc, dac, alc1, alc2 and ipga don?t operate. 1. in case of pll master mode mckpd bit (addr:01h, d2) external mcki pmpll bit (addr:01h, d0) mcko bit (addr:01h, d1) input (4) (1) (2) (3) "h" or "l" example: audio i/f format: dsp mode, bckp = msbs = ?0? bick frequency at master mode : 64fs input master clock select at pll mode : 11.2896mhz sampling frequency:8khz stop an external mcki (1) (2) (3) addr:01h, data:0ch figure 52. clock stopping sequence (1) (1) power down pll: pmpll bit = ?1? ?0? (2) stop mcko clock: mcko bit = ?1? ?0? (3) pull down the mcki pin: mckpd bit = ?0? ?1? when the external master clock becomes hi-z, mcki pin should be pulled down. (4) stop an external master clock. 2. when an external clocks (fck or bick pins) are used in pll slave mode. external bick pmpll bit (addr:01h, d0) input (1) (2) external fck input (2) example audio i/f format : dsp mode, bckp = msbs = ?0? pll reference clock: bick bick frequency: 64fs sampling frequency: 8khz (1) addr:01h, data:04h (2) stop the external clocks figure 53. clock stopping sequence (2) (1) power down pll: pmpll bit = ?1? ?0? (2) stop the external bick and fck clocks
asahi kasei [ak4631] ms0317-e-01 2004/11 - 67 - 3. when an external clock (mcki pi n) is used in pll slave mode. external mcki pmpll bit (addr:01h, d0) input (1) (2) mcko bit (addr:01h, d1) (1) mckpd bit (addr:01h, d2) (1) example audio i/f format : dsp mode, bckp = msbs = ?0? pll reference clock: mcki bick frequency: 64fs sampling frequency: 8khz (1) addr:01h, data:04h (2) stop the external clocks figure 54. clock stopping sequence (3) (1) power down pll: pmpll bit = ?1? ?0? stop mcko output: mcko bit = ?1? ?0? pull down the mcki pin: mckpd bit = ?0? ?1? when the external master clock becomes hi-z, mcki pin should be pulled down. (2) stop the external master clock. 4. ext slave mode mckpd bit (addr:01h, d2) external fck input (2) (1) external bick input (2) external mcki input (2) example audio i/f format :msb justified(adc and dac) input mcki frequency:1024fs sampling frequency:8khz (2) stop the external clocks (1) addr:01h, data:04h figure 55. clock stopping sequence (4) (1) pull down the mcki pin: mckpd bit = ?0? ?1? when the external master clock becomes hi-z, mcki pin should be pulled down. (2) stop the external mcki, bick and fck clocks. ? power down if the clocks are supplied, power down vcom (pmvcm bit: ?1? ?0?) after all blocks except for vcom are powered-down and a master clock stops. the ak4631 is also powered-down by pdn pin = ?l?. when pdn pin = ?l?, the registers are initialized.
asahi kasei [ak4631] ms0317-e-01 2004/11 - 68 - package note) the part of black at four corners on reverse side must not be soldered and must be open. ? material & lead finish package molding compound: epoxy lead frame material: cu lead frame surface treatme nt: solder plate (pb free) 4 -c 0.6 5.2 0.20 5.0 0.10 5.2 0.20 5.0 0.10 0.22 0.05 m 0.05 0.50 28 1 0.05 0.02 +0.03 -0.02 0.80 +0.20 -0.10 0.25 0.10 0.5 5 0 .20 0.21 0.05 0.60 0.10 ? 28pin qfn (unit: mm)
asahi kasei [ak4631] ms0317-e-01 2004/11 - 69 - marking 4631 x xxxx 1 xxxx : date code identifier (5 digits) revision history date (yy/mm/dd) revision reason page contents 04/06/15 00 first edition 04/11/19 01 addition of explanation 4-6 some explanation of ?compare with ak4536 and ak4630 are added 8 recommended operating conditions : note 6 is added for speaker-amp. ?note 6. svdd = 2.6 3.6v when 8 ? dynamic speaker is connected to the ak4631.? important notice ? these products and their specific ations are subject to change wi thout notice. before considering any use or application, consult the asahi kasei microsystems co., ltd. (akm) sales office or authorized distributor concer ning their current status. ? akm assumes no liability for infringement of any pat ent, intellectual property, or other right in the application or use of any information contained herein. ? any export of these products, or devices or syst ems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. ? akm products are neither intended nor authorized for use as critical components in any safety, life support, or other hazard related device or system, and akm assumes no responsibility relating to any such use, except with the expre ss written consent of the representative director of akm. as used here: a. a hazard related device or system is one designed or intended for life support or maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expec ted to result in loss of life or in significant injury or damage to person or property. b. a critical component is one whose failure to f unction or perform may reasonably be expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and which must therefore meet very high standards of performance and reliability. ? it is the responsibility of the buyer or distributor of an akm product who distributes, disposes of, or otherwise places the product with a third party to notify that party in advance of the above content and conditions, and the buyer or distributor agrees to assume any and all responsibility and liability for and hold akm harmless from any and all claims arising from the use of said product in the absence of such notification.


▲Up To Search▲   

 
Price & Availability of AK4631VN

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X